Class ApplicationMenu
Represents the Application Menu that is displayed when the Application Button in the upper-left corner is pressed
Implements
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class ApplicationMenu : ICommandBarControlContainer
Properties
ActiveBackstageControl
Gets or sets the active tab of the Backstage (file) menu
Declaration
public CommandBarControl ActiveBackstageControl { get; set; }
Property Value
Type | Description |
---|---|
CommandBarControl |
Remarks
Currently only the CommandBarCustomControl entries can be set as active.
Controls
Returns a collection of menu items
Declaration
public CommandBarControlCollection Controls { get; }
Property Value
Type | Description |
---|---|
CommandBarControlCollection |
OptionsPages
Returns the collection of pages to display in the Options dialog
Declaration
public OptionsPageCollection OptionsPages { get; }
Property Value
Type | Description |
---|---|
OptionsPageCollection |
RecentFiles
This property is obsolete and may be removed in a future version.
Declaration
olete("No longer supported")]
public CommandBarControlCollection RecentFiles { get; }
Property Value
Type | Description |
---|---|
CommandBarControlCollection |
Methods
LaunchOptionsPage(String)
Launches the Options dialog with the specified page open
Declaration
public void LaunchOptionsPage(string pageId)
Parameters
Type | Name | Description |
---|---|---|
String | pageId |
Events
ActiveBackstageControlChanged
Raised when the ActiveBackstageControl property changes
Declaration
public event EventHandler ActiveBackstageControlChanged
Event Type
Type | Description |
---|---|
EventHandler |
LaunchingOptionsPage
Raised by LaunchOptionsPage() before the requested options page is displayed.
Declaration
public event EventHandler<LaunchingOptionsPageEventArgs> LaunchingOptionsPage
Event Type
Type | Description |
---|---|
EventHandler<LaunchingOptionsPageEventArgs> |