Class Menu
public class Menu : Bar, IDisposable, ISupportInitializeNotification, ISupportInitialize, IOrientation, IDesignable
- Inheritance
-
Menu
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Properties
- DefaultBorderStyle
Gets or sets the default Border Style for Menus. The default is None.
- SelectedMenuItem
Gets or set the currently selected menu item. This is a helper that tracks Focused.
- SuperMenuItem
Gets or sets the menu item that opened this menu as a sub-menu.
Methods
- Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- OnAccepting(CommandEventArgs)
Called when the user is accepting the state of the View and the Accept has been invoked. Set CommandEventArgs.Handled to true and return true to indicate the event was handled and processing should stop.
- OnFocusedChanged(View?, View?)
Called when the focused view has changed.
- OnSelectedMenuItemChanged(MenuItem?)
Called when the selected menu item has changed.
- OnSubViewAdded(View)
Called when a SubView has been added to this View.
- OnVisibleChanged()
Called when Visible has changed.
Events
- SelectedMenuItemChanged
Raised when the selected menu item has changed.