Class ItemCustomCollectionEditor
CustomCollectionEditor for TreeNavigator control
Inheritance
System.Object
ItemCustomCollectionEditor
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ItemCustomCollectionEditor : UITypeEditor
Constructors
ItemCustomCollectionEditor()
ItemCustomCollectionEditor constructor
Declaration
public ItemCustomCollectionEditor()
Methods
CreateForm(TreeNavigator)
Creates the form
Declaration
protected virtual ItemCollectionEditorForm CreateForm(TreeNavigator owner)
Parameters
Type | Name | Description |
---|---|---|
TreeNavigator | owner | TreeNavigator Form |
Returns
Type | Description |
---|---|
ItemCollectionEditorForm | Returns the new CollectionEditorForm |
EditValue(ITypeDescriptorContext, IServiceProvider, Object)
EditVaue method is used to edit the value in the Item Collection
Declaration
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Provides information about container |
System.IServiceProvider | provider | Object providing custom support |
System.Object | value | Object of the container |
Returns
Type | Description |
---|---|
System.Object | Returns the object of the container |
GetEditStyle(ITypeDescriptorContext)
GetEditStyle for the editor
Declaration
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Provides information about container |
Returns
Type | Description |
---|---|
System.Drawing.Design.UITypeEditorEditStyle | Returns EditorStyle |
OnCollectionChanged(Object, Object)
Triggers the CollectionChanged event
Declaration
protected virtual void OnCollectionChanged(object instance, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | Object that carries the Item |
System.Object | value | Value of the Item with all its associated properties |
Events
CollectionChanged
Fires when the Collection in the item changes
Declaration
public event ItemCustomCollectionEditor.CollectionChangedEventHandler CollectionChanged
Event Type
Type |
---|
ItemCustomCollectionEditor.CollectionChangedEventHandler |