TableCellsCollectionEditor Kelas

Definisi

Menyediakan antarmuka pengguna untuk mengedit kumpulan sel dalam baris tabel.

public ref class TableCellsCollectionEditor : System::ComponentModel::Design::CollectionEditor
public class TableCellsCollectionEditor : System.ComponentModel.Design.CollectionEditor
type TableCellsCollectionEditor = class
    inherit CollectionEditor
Public Class TableCellsCollectionEditor
Inherits CollectionEditor
Warisan
TableCellsCollectionEditor

Contoh

Contoh kode berikut menggunakan EditorAttribute untuk mengaitkan TableCellsCollectionEditor kelas dan UITypeEditor kelas (kelas dasar editor koleksi) dengan properti kustom 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
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

Konstruktor

Nama Deskripsi
TableCellsCollectionEditor(Type)

Menginisialisasi instans baru dari kelas TableCellsCollectionEditor.

Properti

Nama Deskripsi
CollectionItemType

Mendapatkan tipe data setiap item dalam koleksi.

(Diperoleh dari CollectionEditor)
CollectionType

Mendapatkan jenis data objek pengumpulan.

(Diperoleh dari CollectionEditor)
Context

Mendapatkan deskriptor jenis yang menunjukkan konteks saat ini.

(Diperoleh dari CollectionEditor)
HelpTopic

Mendapatkan kata kunci Bantuan untuk menampilkan topik Bantuan atau daftar topik saat tombol Bantuan kotak dialog editor atau tombol F1 ditekan.

(Diperoleh dari CollectionEditor)
IsDropDownResizable

Mendapatkan nilai yang menunjukkan apakah editor drop-down harus dapat diubah bentuknya oleh pengguna.

(Diperoleh dari UITypeEditor)
NewItemTypes

Mendapatkan tipe item yang tersedia yang dapat dibuat untuk koleksi ini.

(Diperoleh dari CollectionEditor)

Metode

Nama Deskripsi
CancelChanges()

Membatalkan perubahan pada koleksi.

(Diperoleh dari CollectionEditor)
CanRemoveInstance(Object)

Menunjukkan apakah anggota asli koleksi dapat dihapus.

(Diperoleh dari CollectionEditor)
CanSelectMultipleInstances()

Menunjukkan apakah beberapa sel tabel dapat dipilih secara bersamaan.

CreateCollectionForm()

Membuat formulir baru untuk menampilkan dan mengedit koleksi saat ini.

(Diperoleh dari CollectionEditor)
CreateCollectionItemType()

Mendapatkan tipe data yang dimuat koleksi ini.

(Diperoleh dari CollectionEditor)
CreateInstance(Type)

Membuat instans editor untuk digunakan dengan jenis yang ditentukan.

CreateNewItemTypes()

Mendapatkan tipe data yang dapat dimuat editor koleksi ini.

(Diperoleh dari CollectionEditor)
DestroyInstance(Object)

Menghancurkan instans objek yang ditentukan.

(Diperoleh dari CollectionEditor)
EditValue(IServiceProvider, Object)

Mengedit nilai objek yang ditentukan menggunakan gaya editor yang ditunjukkan GetEditStyle() oleh metode .

(Diperoleh dari UITypeEditor)
EditValue(ITypeDescriptorContext, IServiceProvider, Object)

Mengedit nilai objek yang ditentukan menggunakan penyedia layanan dan konteks yang ditentukan.

(Diperoleh dari CollectionEditor)
Equals(Object)

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetDisplayText(Object)

Mengambil teks tampilan untuk item daftar yang diberikan.

(Diperoleh dari CollectionEditor)
GetEditStyle()

Mendapatkan gaya editor yang digunakan oleh EditValue(IServiceProvider, Object) metode .

(Diperoleh dari UITypeEditor)
GetEditStyle(ITypeDescriptorContext)

Mendapatkan gaya edit yang digunakan oleh EditValue(ITypeDescriptorContext, IServiceProvider, Object) metode .

(Diperoleh dari CollectionEditor)
GetHashCode()

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetItems(Object)

Mendapatkan array objek yang berisi koleksi yang ditentukan.

(Diperoleh dari CollectionEditor)
GetObjectsFromInstance(Object)

Mengembalikan daftar yang berisi objek yang diberikan.

(Diperoleh dari CollectionEditor)
GetPaintValueSupported()

Menunjukkan apakah editor ini mendukung pengecatan representasi nilai objek.

(Diperoleh dari UITypeEditor)
GetPaintValueSupported(ITypeDescriptorContext)

Menunjukkan apakah konteks yang ditentukan mendukung pengecatan representasi nilai objek dalam konteks yang ditentukan.

(Diperoleh dari UITypeEditor)
GetService(Type)

Mendapatkan layanan yang diminta, jika tersedia.

(Diperoleh dari CollectionEditor)
GetType()

Mendapatkan Type instans saat ini.

(Diperoleh dari Object)
MemberwiseClone()

Membuat salinan dangkal dari Objectsaat ini.

(Diperoleh dari Object)
PaintValue(Object, Graphics, Rectangle)

Melukis representasi nilai objek yang ditentukan ke kanvas yang ditentukan.

(Diperoleh dari UITypeEditor)
PaintValue(PaintValueEventArgs)

Melukis representasi nilai objek menggunakan yang ditentukan PaintValueEventArgs.

(Diperoleh dari UITypeEditor)
SetItems(Object, Object[])

Mengatur array yang ditentukan sebagai item koleksi.

(Diperoleh dari CollectionEditor)
ShowHelp()

Menampilkan topik Bantuan default untuk editor koleksi.

(Diperoleh dari CollectionEditor)
ToString()

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Berlaku untuk