Wizard.CellPadding Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract CellPadding : int with get, set
override CellPadding : int with get, set

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: