Wizard.CellSpacing Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets the amount of space between cells.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Overridable Property CellSpacing As Integer 'Usage Dim instance As Wizard Dim value As Integer value = instance.CellSpacing instance.CellSpacing = value
/** @property */ public int get_CellSpacing () /** @property */ public void set_CellSpacing (int value)
public function get CellSpacing () : int public function set CellSpacing (value : int)
Property Value
The amount of space, in pixels, between cells. The default is 0.The following code example demonstrates how to use the CellPadding and CellSpacing properties to program the layout of the Wizard control declaratively.
<%@ Page Language="VB" %> <html> <body> <form id="form1" runat="server"> <asp:Wizard ID="Wizard1" CellSpacing="20" CellPadding="20" BorderColor="Blue" BorderWidth="2" Runat="server"> <WizardSteps> <asp:WizardStep ID="WizardStep1" Title="Step 1" Runat="server"> You are currently on step 1. </asp:WizardStep> <asp:WizardStep ID="WizardStep2" Title="Step 2" Runat="server"> You are currently on step 2. </asp:WizardStep> <asp:WizardStep ID="WizardStep3" Runat="server" Title="Step 3"> You are currently on step 3. </asp:WizardStep> </WizardSteps> <HeaderTemplate> <b>Wizard CellPadding and CellSpacing Example</b> </HeaderTemplate> </asp:Wizard> </form> </body> </html>
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: