WinForms

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

    Show / Hide Table of Contents

    Class CustomCollectionEditorForm

    Class for CustomCollectionEditorForm.

    Inheritance
    System.Object
    MetroForm
    CustomCollectionEditorForm
    Inherited Members
    MetroForm.ResetShowMaximizeBox()
    MetroForm.ResetShowMinimizeeBox()
    MetroForm.ResetShowMinimizeBox()
    MetroForm.ApplyScaleToControl(Single)
    MetroForm.OnLoad(EventArgs)
    MetroForm.OnShown(EventArgs)
    MetroForm.CreateAccessibilityInstance()
    MetroForm.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
    MetroForm.SetClientSizeCore(Int32, Int32)
    MetroForm.OnHandleCreated(EventArgs)
    MetroForm.OnLocationChanged(EventArgs)
    MetroForm.OnStyleChanged(EventArgs)
    MetroForm.WndProc(Message)
    MetroForm.OnPaintBackground(PaintEventArgs)
    MetroForm.OnMouseMove(MouseEventArgs)
    MetroForm.OnRightToLeftChanged(EventArgs)
    MetroForm.OnRightToLeftLayoutChanged(EventArgs)
    MetroForm.HideControlboxHighlights()
    MetroForm.OnColorSchemeChanged()
    MetroForm.Dispose(Boolean)
    MetroForm.CaptionBarHeightMode
    MetroForm.BackColor
    MetroForm.ShowMouseOver
    MetroForm.MetroColor
    MetroForm.CaptionBarBrush
    MetroForm.CaptionBarColor
    MetroForm.CaptionVerticalAlignment
    MetroForm.BorderColor
    MetroForm.CaptionButtonColor
    MetroForm.CaptionButtonHoverColor
    MetroForm.CaptionBarHeight
    MetroForm.EnableTouchMode
    MetroForm.BorderThickness
    MetroForm.AutoScroll
    MetroForm.CaptionFont
    MetroForm.CaptionForeColor
    MetroForm.CaptionAlign
    MetroForm.IconAlign
    MetroForm.IconTextRelation
    MetroForm.DropShadow
    MetroForm.AllowRoundedCorners
    MetroForm.ColorTable
    MetroForm.IsActive
    MetroForm.IsRightToLeft
    MetroForm.ShowMaximizeBox
    MetroForm.InnerBorderVisibility
    MetroForm.ShowMinimizeBox
    MetroForm.CreateParams
    MetroForm.CaptionLabels
    MetroForm.CaptionImages
    MetroForm.CaptionBarPaint
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CustomCollectionEditorForm : MetroForm

    Constructors

    CustomCollectionEditorForm(Carousel)

    Initializes the new instance of CustomCollectionEditorForm class.

    Declaration
    public CustomCollectionEditorForm(Carousel _owner)
    Parameters
    Type Name Description
    Carousel _owner

    Carousel

    Fields

    pg_PropGrid

    Variable for PropertyGrid.

    Declaration
    protected PropertyGrid pg_PropGrid
    Field Value
    Type Description
    System.Windows.Forms.PropertyGrid

    Properties

    Collection

    Gets or sets the Collection.

    Declaration
    public IList Collection { get; set; }
    Property Value
    Type Description
    System.Collections.IList

    Methods

    CreateInstance(Type)

    Creates a new instance of the specified collection item type.

    Declaration
    protected object CreateInstance(Type itemType)
    Parameters
    Type Name Description
    System.Type itemType

    The type of item to create.

    Returns
    Type Description
    System.Object

    A new instance of the specified object.

    CreateItem(Object)

    Creates a new object for itemcollection .

    Declaration
    protected virtual object CreateItem(object reffObject)
    Parameters
    Type Name Description
    System.Object reffObject

    The collection item for which to create an object.

    Returns
    Type Description
    System.Object

    CreateNewItemTypes(IList)

    Gets the data types that this collection editor can contain

    Declaration
    protected Type[] CreateNewItemTypes(IList coll)
    Parameters
    Type Name Description
    System.Collections.IList coll

    The collection for which to return the available types

    Returns
    Type Description
    System.Type[]

    An array of data types that this collection can contain.

    DestroyInstance(Object)

    Destroys the specified instance of the object.

    Declaration
    protected void DestroyInstance(object instance)
    Parameters
    Type Name Description
    System.Object instance

    The object to destroy.

    GenerateItemArray(IList)

    Generates the ItemArray.

    Declaration
    protected object[] GenerateItemArray(IList collection)
    Parameters
    Type Name Description
    System.Collections.IList collection

    IList collection

    Returns
    Type Description
    System.Object[]

    Returns the object array.

    GetItemType(IList)

    Gets the data type of each item in the collection.

    Declaration
    protected Type GetItemType(IList coll)
    Parameters
    Type Name Description
    System.Collections.IList coll

    The collection for which to get the item's type

    Returns
    Type Description
    System.Type

    The data type of the collection items.

    OnDestroyingInstance(Object)

    Destroys the specified instance of the object.

    Declaration
    protected void OnDestroyingInstance(object instance)
    Parameters
    Type Name Description
    System.Object instance

    The object to destroy.

    OnInstanceCreated(Object)

    Creates a new instance of the specified collection item type.

    Declaration
    protected void OnInstanceCreated(object instance)
    Parameters
    Type Name Description
    System.Object instance

    The type of item to create.

    OnItemAdded(Object)

    Adds the specified instance of the object.

    Declaration
    protected void OnItemAdded(object Item)
    Parameters
    Type Name Description
    System.Object Item

    The type of item to create.

    OnItemRemoved(Object)

    Removes the specified instance of the object.

    Declaration
    protected void OnItemRemoved(object item)
    Parameters
    Type Name Description
    System.Object item

    The type of item to create.

    OnResize(EventArgs)

    Overrides OnResize function.

    Declaration
    protected override void OnResize(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    EventArgs which contains EventData

    RefreshValues()

    Refreshes the ItemCollection.

    Declaration
    protected virtual void RefreshValues()

    SetProperties(Object, Object)

    Cast the item into the type of reffObject to add it in the item collection.

    Declaration
    protected virtual void SetProperties(object item, object reffObject)
    Parameters
    Type Name Description
    System.Object item

    The object to be customized with respect to it's corresponding itemcollection.

    System.Object reffObject

    The collection item for which it customizes the created object.

    Events

    DestroyingInstance

    Event for DestroyingInstance.

    Declaration
    public event CustomCollectionEditorForm.InstanceEventHandler DestroyingInstance
    Event Type
    Type Description
    CustomCollectionEditorForm.InstanceEventHandler

    InstanceCreated

    Event for InstanceCreated.

    Declaration
    public event CustomCollectionEditorForm.InstanceEventHandler InstanceCreated
    Event Type
    Type Description
    CustomCollectionEditorForm.InstanceEventHandler

    ItemAdded

    Event for ItemAdded.

    Declaration
    public event CustomCollectionEditorForm.InstanceEventHandler ItemAdded
    Event Type
    Type Description
    CustomCollectionEditorForm.InstanceEventHandler

    ItemRemoved

    Event for ItemRemoved.

    Declaration
    public event CustomCollectionEditorForm.InstanceEventHandler ItemRemoved
    Event Type
    Type Description
    CustomCollectionEditorForm.InstanceEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved