次の方法で共有


TableRowsCollectionEditor クラス

テーブルの行を編集するためのユーザー インターフェイスを提供します。

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

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

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

スレッドセーフ

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

使用例

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

 
Private rows As TableRowCollection

' Use the TableRowsCollectionEditor to allow
' property editing on a design surface.
<EditorAttribute( _
   GetType(System.Web.UI.Design.WebControls.TableRowsCollectionEditor), _
   GetType(UITypeEditor))> _
Public ReadOnly Property TestRows() As TableRowCollection
   Get
       Return rows
   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 内)

参照

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