Constructors
Properties
FilePath
#Gets or sets the file path of the custom layout. Typically the path should only be set during Save operations. The FilePath field is not included in (de)serialization.
Tabs
#Gets the internal list of ribbon tab names. Eventhough items define tabs, this separate list is required in order to specify the order of tabs.
Methods
AddItem
#Add a new item to this layout.
public void AddItem()
category,
Item category. If no category with this name exists yet, it will be created.
subcategory,
Item subcategory. If no subcategory with this name exists yet, it will be created.
item
Item to add.
AddItem
#Add a new item to this layout.
public void AddItem()
category,
Item category. If no category with this name exists yet, it will be created.
subcategory,
Item subcategory. If no subcategory with this name exists yet, it will be created.
id,
ID of item.
exposure
Exposure of item.
AddItem
#Add a new item to this layout.
Deserialize
#Deserialize this layout from a *.ghlayout file. If this function returns False, the state of this object is undefined.
Returns: True on success, false on failure.
FindTab
#Find the first tab which matches the given name.
Returns: The first tab that matches the name, or null if no matching tab could be found.
StringSort
#For: RH-83156. Specifically handle leading whitespace for sorting purposes.