C# Класс ZForge.Controls.XPTable.Models.Design.ColumnCollectionEditor

Provides a user interface that can edit collections of Columns at design time
Наследование: HelpfulCollectionEditor
Показать файл Открыть проект

Открытые методы

Метод Описание
ColumnCollectionEditor ( Type type ) : System

Constructor

EditValue ( ITypeDescriptorContext context, IServiceProvider isp, object value ) : object

Edits the value of the specified object using the specified service provider and context

Защищенные методы

Метод Описание
CreateCollectionForm ( ) : System.ComponentModel.Design.CollectionEditor.CollectionForm

If the property grid is available it's HelpVisible property is set to true, the help pane backcolor is changed and the CommandsVisibleIfAvailable property is set to true ((hot) commands are elsewhere known as designer verbs).

CreateInstance ( Type itemType ) : object

Creates a new instance of the specified collection item type

CreateNewItemTypes ( ) : System.Type[]

Gets the data types that this collection editor can contain

DestroyInstance ( object instance ) : void

Destroys the specified instance of the object

Приватные методы

Метод Описание
column_PropertyChanged ( object sender, ColumnEventArgs e ) : void

Handler for a Column's PropertyChanged event

Описание методов

ColumnCollectionEditor() публичный Метод

Constructor
public ColumnCollectionEditor ( Type type ) : System
type System.Type The type of the collection to be edited
Результат System

CreateCollectionForm() защищенный Метод

If the property grid is available it's HelpVisible property is set to true, the help pane backcolor is changed and the CommandsVisibleIfAvailable property is set to true ((hot) commands are elsewhere known as designer verbs).
protected CreateCollectionForm ( ) : System.ComponentModel.Design.CollectionEditor.CollectionForm
Результат System.ComponentModel.Design.CollectionEditor.CollectionForm

CreateInstance() защищенный Метод

Creates a new instance of the specified collection item type
protected CreateInstance ( Type itemType ) : object
itemType System.Type The type of item to create
Результат object

CreateNewItemTypes() защищенный Метод

Gets the data types that this collection editor can contain
protected CreateNewItemTypes ( ) : System.Type[]
Результат System.Type[]

DestroyInstance() защищенный Метод

Destroys the specified instance of the object
protected DestroyInstance ( object instance ) : void
instance object The object to destroy
Результат void

EditValue() публичный Метод

Edits the value of the specified object using the specified service provider and context
public EditValue ( ITypeDescriptorContext context, IServiceProvider isp, object value ) : object
context ITypeDescriptorContext An ITypeDescriptorContext that can be used to gain additional context information
isp IServiceProvider A service provider object through which editing services can be obtained
value object the value of the object under edit
Результат object