This documentation is archived and is not being maintained.
Wizard.CellSpacing Property
Visual Studio 2008
Gets or sets the amount of space between cells.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to use the CellPadding and CellSpacing properties to program the layout of the Wizard control declaratively.
<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>ASP.NET Example</title> </head> <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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: