TableCellControlBuilder クラス

パーサーと対話して、 TableCell コントロールを構築します。

この型のすべてのメンバの一覧については、TableCellControlBuilder メンバ を参照してください。

System.Object
   System.Web.UI.ControlBuilder
      System.Web.UI.WebControls.TableCellControlBuilder

Public Class TableCellControlBuilder
   Inherits ControlBuilder
[C#]
public class TableCellControlBuilder : ControlBuilder
[C++]
public __gc class TableCellControlBuilder : public ControlBuilder
[JScript]
public class TableCellControlBuilder extends ControlBuilder

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

継承時の注意: TableCell 派生コントロールのカスタム コントロール ビルダを作成するには、このクラスから継承する必要があります。

使用例

 
<%@ Register TagPrefix="aspSample" Namespace="Samples.AspNet.VB.Controls" Assembly="Samples.AspNet.VB" %>
<%@ Page Language="VB" AutoEventWireup="True" %>
<HTML>
    <HEAD>
        <title>Custom TableCell - AddAttributesToRender - VB.NET Example</title>
  </HEAD>
    <body>
        <form id="Form1" method="post" runat="server">
            <h3>Custom TableCell - AddAttributesToRender - VB.NET Example</h3>
            
            <asp:Table id="Table1" runat="server" CellPadding="3" CellSpacing="2">
                <asp:TableRow>
                    <aspSample:CustomTableCellAddAttributesToRender Text="(0,0)" />
                    <aspSample:CustomTableCellAddAttributesToRender Text="(0,1)" />
                    <aspSample:CustomTableCellAddAttributesToRender Text="(0,2)" />
                </asp:TableRow>
                <asp:TableRow>
                    <aspSample:CustomTableCellAddAttributesToRender Text="(1,0)" />
                    <aspSample:CustomTableCellAddAttributesToRender Text="(1,1)" />
                    <aspSample:CustomTableCellAddAttributesToRender Text="(1,2)" />
                </asp:TableRow>
            </asp:Table>
        </form>
    </body>
</HTML>

[C#] 
<%@ Register TagPrefix="aspSample" Namespace="Samples.AspNet.CS.Controls" Assembly="Samples.AspNet.CS" %>
<%@ Page Language="C#" AutoEventWireup="True" %>
<HTML>
    <HEAD>
        <title>Custom TableCell - AddAttributesToRender - C# Example</title>
    </HEAD>
    <body>
        <form id="Form1" method="post" runat="server">
            <h3>Custom TableCell - AddAttributesToRender - C# Example</h3>
      
      <asp:Table 
        id="Table1" 
        runat="server" 
        CellPadding="3" 
        CellSpacing="2">
        <asp:TableRow>
          <aspSample:CustomTableCellAddAttributesToRender Text="(0,0)" />
          <aspSample:CustomTableCellAddAttributesToRender Text="(0,1)" />
          <aspSample:CustomTableCellAddAttributesToRender Text="(0,2)" />
        </asp:TableRow>
        <asp:TableRow>
          <aspSample:CustomTableCellAddAttributesToRender Text="(1,0)" />
          <aspSample:CustomTableCellAddAttributesToRender Text="(1,1)" />
          <aspSample:CustomTableCellAddAttributesToRender Text="(1,2)" />
        </asp:TableRow>
      </asp:Table>
      
        </form>
    </body>
</HTML>

[C++, JScript] C++ および JScript のサンプルはありません。Visual Basic および C# のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

名前空間: System.Web.UI.WebControls

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Web (System.Web.dll 内)

参照

TableCellControlBuilder メンバ | System.Web.UI.WebControls 名前空間