menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridBoundColumnsCollectionEditor - API Reference

    Show / Hide Table of Contents

    Class GridBoundColumnsCollectionEditor

    Provides a collection editor that is tailored to adding and removing GridBoundColumn objects from the GridBoundColumns collection in a GridDataBoundGrid.

    Inheritance
    System.Object
    GridBoundColumnsCollectionEditor
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridBoundColumnsCollectionEditor : CollectionEditor

    Constructors

    GridBoundColumnsCollectionEditor(Type)

    Initializes a new GridBoundColumnsCollectionEditor object.

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

    The type of the collection for this editor to edit.

    Methods

    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 specified service provider and context.

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

    An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.

    System.IServiceProvider provider

    A service provider object through which editing services can be obtained.

    System.Object value

    The object to edit the value of.

    Returns
    Type Description
    System.Object

    The new value of the object. If the value of the object has not changed, this should return the same object it was passed.

    See Also

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