menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AttributesCollectionEditor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AttributesCollectionEditor

    Editor for element attributes.

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

    Constructors

    AttributesCollectionEditor(Type)

    Initializes a new instance of the AttributesCollectionEditor class

    Declaration
    public AttributesCollectionEditor(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()

    Overrides CreateNewItemTypes() method

    Declaration
    protected override Type[] CreateNewItemTypes()
    Returns
    Type Description
    System.Type[]

    A array 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

    object to be destroyed

    GetItems(Object)

    Overridden. Returns an array of objects containing the specified collection.

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

    The collection to edit.

    Returns
    Type Description
    System.Object[]

    An array containing the collection objects.

    SetItems(Object, Object[])

    Overridden. Sets the specified 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

    Item values

    Returns
    Type Description
    System.Object

    The newly created collection object

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