WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomCollectionEditor

    Show / Hide Table of Contents

    Class CustomCollectionEditor

    Class for CustomCollectionEditor

    Inheritance
    System.Object
    CustomCollectionEditor
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CustomCollectionEditor : UITypeEditor

    Constructors

    CustomCollectionEditor()

    Initializes new instance for CustomCollectionEditor class.

    Declaration
    public CustomCollectionEditor()

    Methods

    CreateForm(Carousel)

    Creates new CustomCollectionEditorForm.

    Declaration
    protected virtual CustomCollectionEditorForm CreateForm(Carousel owner)
    Parameters
    Type Name Description
    Carousel owner

    Carousel

    Returns
    Type Description
    CustomCollectionEditorForm

    new CustomCollectionEditorForm

    EditValue(ITypeDescriptorContext, IServiceProvider, Object)

    Edits the specified object's value using the editor style indicated by the System.Drawing.Design.UITypeEditor.GetEditStyle() method.

    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

    An System.IServiceProvider that this editor can use to obtain services.

    System.Object value

    The object to edit.

    Returns
    Type Description
    System.Object

    The new value of the object.

    GetEditStyle(ITypeDescriptorContext)

    Gets the editor style used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.

    Declaration
    public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

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

    Returns
    Type Description
    System.Drawing.Design.UITypeEditorEditStyle

    A System.Drawing.Design.UITypeEditorEditStyle value that indicates the style of editor used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method.

    OnCollectionChanged(Object, Object)

    Calls the CollectionChanged event.

    Declaration
    protected virtual void OnCollectionChanged(object instance, object value)
    Parameters
    Type Name Description
    System.Object instance
    System.Object value

    Events

    CollectionChanged

    Collection changed event

    Declaration
    public event CustomCollectionEditor.CollectionChangedEventHandler CollectionChanged
    Event Type
    Type Description
    CustomCollectionEditor.CollectionChangedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved