WebZone::Padding Property

 

Gets or sets the cell padding attributes on the table that contains the WebPart controls in a zone.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public:
property int Padding {
	virtual int get();
	virtual void set(int value);
}

Property Value

Type: System::Int32

The number of pixels for the padding between items and their cell boundaries in the table rendered for a zone. The default is 2.

Exception Condition
ArgumentOutOfRangeException

The property is set to a value less than -1.

.NET Framework
Available since 2.0
Return to top
Show: