Wizard.CellPadding プロパティ
アセンブリ: System.Web (system.web.dll 内)

Public Overridable Property CellPadding As Integer
Dim instance As Wizard Dim value As Integer value = instance.CellPadding instance.CellPadding = value
/** @property */ public int get_CellPadding () /** @property */ public void set_CellPadding (int value)
セルの内容とセルの境界線の間の間隔 (ピクセル単位)。既定値は 0 です。

CellPadding プロパティを使用して、セルの内容とセルの境界線の間の間隔を制御します。指定した余白の量は、セルの 4 面すべてに追加されます。同じ列内のすべてのセルの幅は同じになります。したがって、余白は列内の最も幅の広いセルに適用されます。同様に、同じ行内のすべてのセルの高さは同じになります。したがって、余白は行内の最も高いセルに適用されます。それぞれのセルのサイズを指定することはできません。

CellPadding プロパティおよび CellSpacing プロパティを使用して、Wizard コントロールのレイアウトのプログラムを宣言によって作成する方法を次のコード例に示します。
<%@ 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>
<%@ Page Language="C#" %> <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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からWizard.CellPadding プロパティを検索する場合は、下記のリンクをクリックしてください。

- Wizard.CellPadding プロパティのページへのリンク