Class BarItemsImporter
Inheritance
System.Object
BarItemsImporter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |