2011-11-26 13 views

回答

0

保证金属性被定义为一个结构:

public struct Padding 
{ 
    public int All { get; set; }; 
    public int Bottom { get; set; } 
    public int Left { get; set; } 
    public int Right { get; set; } 
    ... 
} 

所以,你可以定义你的财产为Padding或使用自定义的结构看起来像这一个。

相关问题