Freigeben über


TableCellsCollectionEditor-Klasse

Stellt eine Benutzeroberfläche zum Bearbeiten der Zellenliste in einer Tabellenzeile bereit.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

Syntax

'Declaration
Public Class TableCellsCollectionEditor
    Inherits CollectionEditor
'Usage
Dim instance As TableCellsCollectionEditor
public class TableCellsCollectionEditor : CollectionEditor
public ref class TableCellsCollectionEditor : public CollectionEditor
public class TableCellsCollectionEditor extends CollectionEditor
public class TableCellsCollectionEditor extends CollectionEditor

Beispiel

Im folgenden Codebeispiel wird das EditorAttribute verwendet, um die TableCellsCollectionEditor-Klasse und die UITypeEditor-Klasse (die Basisklasse des Auflistungs-Editors) einer benutzerdefinierten TestCells-Eigenschaft zuzuordnen.

Private cells As TableCellCollection

' Associate the TableCellsCollectionEditor with the TestCells.
<EditorAttribute( GetType(System.Web.UI.Design.WebControls. _
    TableCellsCollectionEditor), _
    GetType(UITypeEditor))> _
Public ReadOnly Property TestCells() As TableCellCollection
    Get
        Return cells
    End Get
End Property ' TestCells
private TableCellCollection cells = null;

// Associate the TableCellsCollectionEditor with the TestCells. 
[EditorAttribute(typeof(System.Web.UI.Design.WebControls.
    TableCellsCollectionEditor),
    typeof(UITypeEditor))]
public TableCellCollection TestCells
{
    get { return cells; }
} // TestCells

Vererbungshierarchie

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

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

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 unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

TableCellsCollectionEditor-Member
System.Web.UI.Design.WebControls-Namespace