WinForms

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

    Show / Hide Table of Contents

    Class NavigationDrawerItemCollectionEditorForm

    Inheritance
    System.Object
    NavigationDrawerItemCollectionEditorForm
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class NavigationDrawerItemCollectionEditorForm : Form

    Constructors

    NavigationDrawerItemCollectionEditorForm(NavigationDrawer)

    Declaration
    public NavigationDrawerItemCollectionEditorForm(NavigationDrawer m_owner)
    Parameters
    Type Name Description
    NavigationDrawer m_owner

    Fields

    pg_PropGrid

    Property grid

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

    Properties

    Collection

    Ilistcollection property

    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)

    GenerateItemArray for the itemcollection

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

    Item collection for displaying in text box

    Returns
    Type Description
    System.Object[]

    Returns the Item collection

    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.

    OnClosing(CancelEventArgs)

    Override for onclosing

    Declaration
    protected override void OnClosing(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e

    CancelEvent arguement

    OnDestroyingInstance(Object)

    Destroys the specified instance of the object.

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

    Destroys the object created

    OnInstanceCreated(Object)

    Creates the specified instance of the object.

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

    Instance of the Item

    OnItemAdded(Object)

    Fires on item added

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

    Item that is being added

    OnItemRemoved(Object)

    Fires on item removes

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

    Item that is being added

    OnLoad(EventArgs)

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

    OnResize(EventArgs)

    override method to resize

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

    EventArgs parameter

    RefreshValues()

    RefreshValues in list box

    Declaration
    protected virtual void RefreshValues()

    SetProperties(Object, Object)

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

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

    The collection item for which it customizes the created object.

    Events

    DestroyingInstance

    Fires once the control is deleted to the list

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

    InstanceCreated

    Fires once the control is added to the list.

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

    ItemAdded

    Fires once the item added

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

    ItemRemoved

    Fires once the Item removed

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