WebZone.Padding 属性

定义

获取或设置区域中包含 WebPart 控件的表的单元格填充特性。Gets or sets the cell padding attributes on the table that contains the WebPart controls in a zone.

public:
 virtual property int Padding { int get(); void set(int value); };
public virtual int Padding { get; set; }
member this.Padding : int with get, set
Public Overridable Property Padding As Integer

属性值

Int32

在区域中呈现的表中的项及其单元格边界之间填充的像素数。The number of pixels for the padding between items and their cell boundaries in the table rendered for a zone. 默认值为 2。The default is 2.

例外

属性被设置为小于 -1 的值。The property is set to a value less than -1.

适用于