C# 클래스 XPTable.Models.Design.ColumnCollectionEditor

Provides a user interface that can edit collections of Columns at design time
상속: XPTable.Models.Design.HelpfulCollectionEditor
파일 보기 프로젝트 열기: binaryage/xrefresh

공개 메소드들

메소드 설명
ColumnCollectionEditor ( Type type ) : System

Initializes a new instance of the ColumnCollectionEditor class using the specified collection type

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

Creates a new form to display and edit the current collection

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

PropertyGrid_SelectedObjectsChanged ( object sender, EventArgs e ) : void

Handler for the PropertyGrid's SelectedObjectsChanged event

비공개 메소드들

메소드 설명
column_PropertyChanged ( object sender, XPTable.Events.ColumnEventArgs e ) : void

Handler for a Column's PropertyChanged event

메소드 상세

ColumnCollectionEditor() 공개 메소드

Initializes a new instance of the ColumnCollectionEditor class using the specified collection type
public ColumnCollectionEditor ( Type type ) : System
type System.Type The type of the collection for this editor to edit
리턴 System

CreateCollectionForm() 보호된 메소드

Creates a new form to display and edit the current collection
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 object to edit the value of
리턴 object

PropertyGrid_SelectedObjectsChanged() 보호된 메소드

Handler for the PropertyGrid's SelectedObjectsChanged event
protected PropertyGrid_SelectedObjectsChanged ( object sender, EventArgs e ) : void
sender object The object that raised the event
e System.EventArgs An EventArgs that contains the event data
리턴 void