menu

WinForms

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

    Show / Hide Table of Contents

    Class GroupingCollectionEditor

    Provides a user interface that can edit collections of descriptor elements at design-time.

    Inheritance
    System.Object
    GroupingCollectionEditor
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class GroupingCollectionEditor : CollectionEditor
    Remarks

    GroupingCollectionEditor checks for the IInsideCollectionEditorProperty of an associated collection. This allows it to make a copy of the original collection and compare the two collections at the time the user closes the collection editor. Only if changes are detected is the underlying component updated with changes.

    Constructors

    GroupingCollectionEditor(Type)

    Initializes a new GroupingCollectionEditor with a type to create instances for collection items.

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

    Type for collection item.

    Methods

    CancelChanges()

    Cancels changes to the collection.

    Declaration
    protected override void CancelChanges()

    CreateCollectionForm()

    Creates a new form to display and edit the current collection.

    Declaration
    protected override CollectionEditor.CollectionForm CreateCollectionForm()
    Returns
    Type Description
    System.ComponentModel.Design.CollectionEditor.CollectionForm

    A System.ComponentModel.Design.CollectionEditor.CollectionForm to provide as the user interface for editing the collection.

    EditValue(ITypeDescriptorContext, IServiceProvider, Object)

    Edits the value of the specified object using the given service provider and context.

    Declaration
    public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    Format context.

    System.IServiceProvider provider

    Service provider.

    System.Object value

    The object to edit.

    Returns
    Type Description
    System.Object

    Edited value.

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