C# Class ZForge.Controls.XPTable.Models.Design.CellCollectionEditor

Provides a user interface that can edit collections of Cells at design time
Inheritance: HelpfulCollectionEditor
ファイルを表示 Open project: zhuangyy/Motion

Public Methods

Method Description
CellCollectionEditor ( Type type ) : System

Initializes a new instance of the CellCollectionEditor 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

Protected Methods

Method Description
CreateInstance ( Type itemType ) : object

Creates a new instance of the specified collection item type

DestroyInstance ( object instance ) : void

Destroys the specified instance of the object

Method Details

CellCollectionEditor() public method

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

CreateInstance() protected method

Creates a new instance of the specified collection item type
protected CreateInstance ( Type itemType ) : object
itemType System.Type The type of item to create
return object

DestroyInstance() protected method

Destroys the specified instance of the object
protected DestroyInstance ( object instance ) : void
instance object The object to destroy
return void

EditValue() public method

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
return object