WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ElementsCollectionEditor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ElementsCollectionEditor

    Editor for elements.

    Inheritance
    System.Object
    ElementsCollectionEditor
    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    public sealed class ElementsCollectionEditor : CollectionEditor

    Constructors

    ElementsCollectionEditor(Type)

    Initializes a new instance of the ElementsCollectionEditor class

    Declaration
    public ElementsCollectionEditor(Type type)
    Parameters
    Type Name Description
    System.Type type

    Type of element to edit.

    Methods

    CanRemoveInstance(Object)

    Overridden. Indicates whether the specified element can be removed from the collection.

    Declaration
    protected override bool CanRemoveInstance(object value)
    Parameters
    Type Name Description
    System.Object value

    Item of the collection.

    Returns
    Type Description
    System.Boolean

    bool value

    CreateNewItemTypes()

    Overriddes 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

    Instance that to be destroyed

    SetItems(Object, Object[])

    Overridden. Sets the items to the collection.

    Declaration
    protected override object SetItems(object editValue, object[] value)
    Parameters
    Type Name Description
    System.Object editValue

    Editable value

    System.Object[] value

    Items array

    Returns
    Type Description
    System.Object

    The newly created collection object.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved