Wizard::CellPadding Property

 

Gets or sets the amount of space between the contents of the cell and the cell border.

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

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

Property Value

Type: System::Int32

The amount of space, in pixels, between the contents of a cell and the cell border. The default is 0.

Use the CellPadding property to control the spacing between the contents of a cell and the cell border. The padding amount that is specified is added to all four sides of the cell. All cells in a column share the same cell width; therefore, the spacing is applied to the widest cell in the column. Similarly, all cells in the same row share the same cell height. Thus, the spacing is applied to the tallest cell in the row. Individual cell sizes cannot be specified.

The following code example demonstrates how to use the CellPadding and CellSpacing properties to program the layout of the Wizard control declaratively.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: