public class MenuButton
Public Class MenuButton
public ref class MenuButton
type MenuButton = class end
MenuButton(MenuButton) | Constructs a copy of the specified MenuButton. |
MenuButton(String) | Constructs a new instance of MenuButton with the specified text. |
MenuButton(String, ButtonAction) | Constructs a new instance of MenuButton with the specified text and action. |
Action | Action handler which is invoked when the menu button is clicked. |
Behavior | Behavior flags for the menu button. |
Checked | Specifies whether the menu button is checked. |
Children | Child menu buttons. |
Data | Custom data for the button. |
Enabled | Specifies whether the menu button is enabled. |
Icon | Icon for the menu button. |
Index | Sort index of the menu button. |
Location | Location of the menu button in MainMenu. |
Name | Internal name of the menu button. |
OpenFileFilter | Unless this property is null or Empty, a File Open dialog is shown and the value of DialogPath is set to the path selected by the user prior to calling Action. |
SaveFileFilter | Unless this property is null or Empty, a File Save dialog is shown and the value of DialogPath is set to the path selected by the user prior to calling Action. |
ShortcutKey | A shortcut key for the menu button. |
ShortcutKeyDisplayString | Display text for ShortcutKey. |
Text | Text of the menu button. |
Visible | Specifies whether the menu button is visible. |
AppendChild(MenuButton) | Appends the specified MenuButton to Children. |
AppendChild(String, ButtonAction) | Appends a new MenuButton with the specified values of Text and Action to Children. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |