WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BarItemsImporter - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BarItemsImporter

    Inheritance
    System.Object
    BarItemsImporter
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class BarItemsImporter

    Constructors

    BarItemsImporter()

    Declaration
    public BarItemsImporter()

    Fields

    miscCategoryRootName

    Declaration
    protected string miscCategoryRootName
    Field Value
    Type Description
    System.String

    Methods

    GetBarFromName(String, IBarItemsRepository)

    Returns the Bar object using the BarName.

    Declaration
    protected virtual Bar GetBarFromName(string barName, IBarItemsRepository repository)
    Parameters
    Type Name Description
    System.String barName
    IBarItemsRepository repository
    Returns
    Type Description
    Bar

    GetDestinationCategoryIndex(IBarItemsRepository, String)

    Returns the Category Index of a particular Category.If the Category is not available it creates a new Category and returns the Index of the new Category.

    Declaration
    protected virtual int GetDestinationCategoryIndex(IBarItemsRepository destination, string category)
    Parameters
    Type Name Description
    IBarItemsRepository destination
    System.String category
    Returns
    Type Description
    System.Int32

    GetMainMenu(IBarItemsRepository)

    Returns the MainMenu in the BarManager

    Declaration
    protected virtual Bar GetMainMenu(IBarItemsRepository repository)
    Parameters
    Type Name Description
    IBarItemsRepository repository
    Returns
    Type Description
    Bar

    ImportItems(IBarItemsRepository, IBarItemsRepository)

    Move the BarItems from the source to the destination.

    Declaration
    public virtual void ImportItems(IBarItemsRepository source, IBarItemsRepository destination)
    Parameters
    Type Name Description
    IBarItemsRepository source
    IBarItemsRepository destination
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved