Class MenuBaseModel
- Namespace
- Innova.Prism.Library.Menus.ItemModels
- Assembly
- Innova.Prism.Library.dll
Represents the base model for a menu item.
public abstract class MenuBaseModel : MenuItemModelBase, INotifyPropertyChanged, IMenuBaseModel, IMenuItemModelBase
- Inheritance
-
MenuBaseModel
- Implements
- Derived
- Extension Methods
Constructors
Properties
- AddItemToMenu
Gets or sets a value indicating whether to add the item to the menu.
- Description
Gets or sets the description of the menu item.
- GestureText
Gets the gesture text for the menu item.
- GroupName
Gets or sets the group name of the menu item.
- Header
Gets or sets the header of the menu item.
- HideOnDisable
Gets or sets a value indicating whether to hide the menu item when disabled.
- KeyGesture
Gets the key gesture for the menu item.
- LargeImage
Gets or sets the large image of the menu item.
- MenuIsEnabled
Gets or sets a value indicating whether the menu item is enabled.
- SingleGesture
Gets or sets the single input gesture for the menu item.
- Size
Gets or sets the size of the menu item.
- SmallImage
Gets or sets the small image of the menu item.
- SortOrder
Gets or sets the sort order of the menu item.
- ToolTipImageSource
Gets the image source for the tooltip.
- ToolTipTitle
Gets the title for the tooltip.
Methods
- CleanUp()
Cleans up the menu item.
- SetImages(string)
Sets the large and small images of the menu item using the specified resource key name.
- SetImages(ImageSource)
Sets the large and small images of the menu item using the specified image source.
- SetLargeImage(Bitmap)
Sets the large image of the menu item using the specified bitmap.
- SetSmallImage(Bitmap)
Sets the small image of the menu item using the specified bitmap.
- Setup()
Sets up the menu item.
- ToString()
Returns a string that represents the current object.
Events
- MenuIsEnabledChanged
Occurs when the menu item enabled state changes.