Class ScriptObjectCollectionEditor
Description for ScriptObjectCollectionEditor.
Inheritance
System.Object
ScriptObjectCollectionEditor
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public sealed class ScriptObjectCollectionEditor : CollectionEditor
Constructors
ScriptObjectCollectionEditor(Type)
Initializes a new instance of the ScriptObjectCollectionEditor class
Declaration
public ScriptObjectCollectionEditor(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Type of element to edit. |
Methods
CreateInstance(Type)
Creates a new instance.
Declaration
protected override object CreateInstance(Type itemType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | itemType | Type of object for creating. |
Returns
Type | Description |
---|---|
System.Object | New created object. |
CreateNewItemTypes()
Override CreateNewItemTypes() method
Declaration
protected override Type[] CreateNewItemTypes()
Returns
Type | Description |
---|---|
System.Type[] | Aray of types. |
DestroyInstance(Object)
Overridden. Destroys the specified item from the collection.
Declaration
protected override void DestroyInstance(object instance)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | A instance to be destroyed |
EditValue(ITypeDescriptorContext, IServiceProvider, Object)
Edits the specified item's value in the collection.
Declaration
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Instance of ITypeDescriptorContext |
System.IServiceProvider | provider | Instance of IServiceProvider |
System.Object | value | An instance |
Returns
Type | Description |
---|---|
System.Object | An instance that is returned from EditValue method |