次の方法で共有


TableCellsCollectionEditor クラス

テーブル行内のセルのコレクションを編集するためのユーザー インターフェイスを提供します。

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

System.Object
   System.Drawing.Design.UITypeEditor
      System.ComponentModel.Design.CollectionEditor
         System.Web.UI.Design.WebControls.TableCellsCollectionEditor

Public Class TableCellsCollectionEditor
   Inherits CollectionEditor
[C#]
public class TableCellsCollectionEditor : CollectionEditor
[C++]
public __gc class TableCellsCollectionEditor : public
   CollectionEditor
[JScript]
public class TableCellsCollectionEditor extends CollectionEditor

スレッドセーフ

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

使用例

[Visual Basic] EditorAttribute を使用して、 TableCellsCollectionEditor クラスと UITypeEditor クラス (コレクション エディタの基本クラス) をカスタムの TestCells プロパティと関連付けるコード例を次に示します。

 
Private cells As TableCellCollection

' Use the TableCellsCollectionEditor to allow
' property editing on a design surface. 
<EditorAttribute( _
   GetType(System.Web.UI.Design.WebControls.TableCellsCollectionEditor), _
   GetType(UITypeEditor))> _
Public ReadOnly Property TestCells() As TableCellCollection

   Get
       Return cells
   End Get

End Property       

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

必要条件

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

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

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

参照

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