CommandPopupMenu<T> Members
Base class for the popup (context) menu of Office-inspired controls.Constructors
Name | Description |
---|---|
CommandPopupMenu() | Initializes a new instance of the CommandPopupMenu<T> class with default settings. |
CommandPopupMenu(EventHandler) | Initializes a new instance of the CommandPopupMenu<T> class with the specified caption and the handler for the DXSubMenuItem.BeforePopup event. |
Fields
Name | Description |
---|---|
MaxSubMenuLevel static | Specifies the maximum menu depth for all DXPopupMenu descendants in this solution. Menus with a nesting level that exceeds this value will be unable to expand certain sub-menu items. Inherited from DXPopupMenu. |
Properties
Name | Description |
---|---|
Alignment | Gets or sets the menu’s alignment relative to the mouse cursor. Inherited from DXPopupMenu. |
AllowGlyphSkinning | Gets or sets whether the current DXMenuItem icon should be painted in the DXMenuItem‘s foreground color. Inherited from DXMenuItem. |
AllowToolbarTransparency | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXPopupMenu. |
Appearance | Provides access to the appearance settings used to paint the DXMenuItem in the normal state. Inherited from DXMenuItem. |
AppearanceDisabled | Provides access to the appearance settings used to paint the DXMenuItem in the disbled state. Inherited from DXMenuItem. |
AppearanceHovered | Provides access to the appearance settings used to paint the DXMenuItem in the hovered state. Inherited from DXMenuItem. |
BeginGroup | Gets or sets whether the current menu item starts a group. Inherited from DXMenuItem. |
Caption | Specifies the text displayed within the menu item. Inherited from DXMenuItem. |
CloseMenuOnClick | This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DXMenuItem. |
CloseOwnerMenuOnlyOnClick | This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DXMenuItem. |
Collection | Gets the menu item collection which owns the current menu item. Inherited from DXMenuItem. |
Command |
Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
Inherited from DXMenuItem. |
CommandParameter |
Gets or sets the parameter that is passed to the command specified by the Command property.
Inherited from DXMenuItem. |
ContextOwnerControl | For internal use. Inherited from DXPopupMenu. |
DeviceDpi | This member supports the internal infrastructure and is not intended to be used directly from code. Inherited from DXPopupMenu. |
Enabled | Gets or sets whether the menu item is enabled. Inherited from DXMenuItem. |
HasImage | Returns whether or not this DXMenuItem has an image assigned. Inherited from DXMenuItem. |
Id | Gets or sets menu identifier. |
Image | Gets or sets an image displayed within the menu item, Inherited from DXMenuItem. |
ImageDisabled | Gets or sets an image representing the menu item in the disabled state. Inherited from DXMenuItem. |
ImageOptions | Provides access to settings that allow you to set up raster and vector icons for this DXMenuItem. Inherited from DXMenuItem. |
IsDesignTimeMenu | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXPopupMenu. |
IsRightToLeft | Gets or sets whether the menu is aligned to support locales using right-to-left fonts. Inherited from DXPopupMenu. |
Items | Gets a collection of items displayed when the current submenu is expanded. Inherited from DXSubMenuItem. |
LargeImage | Gets or sets a large image for the current menu item. Inherited from DXMenuItem. |
LargeImageDisabled | Gets or sets a large image displayed in the current menu item when it is in the disabled state. Inherited from DXMenuItem. |
MenuViewType | Gets or sets how the current menu is displayed (as a menu, floating bar or RibbonMiniToolbar). Inherited from DXPopupMenu. |
MultiColumn | Gets or sets whether items in this DXPopupMenu can be displayed in multiple columns. Inherited from DXPopupMenu. |
OptionsMultiColumn | Provides access to the set of properties that manage multi-column item layout in this DXPopupMenu. Inherited from DXPopupMenu. |
Owner | Gets or sets the object that owns this DXMenuItem. Inherited from DXMenuItem. |
OwnerPopup | Gets or sets the object that created the current popup menu. For internal use. Inherited from DXPopupMenu. |
Priority | Gets or sets the display priority for the current item in a RadialMenu. Inherited from DXMenuItem. |
ScaleDPI | This member supports the internal infrastructure and is not intended to be used directly from code. Inherited from DXPopupMenu. |
ScaleFactor | This member supports the internal infrastructure and is not intended to be used directly from code. Inherited from DXPopupMenu. |
Shortcut | Gets or sets a shortcut displayed within the menu item Inherited from DXMenuItem. |
ShowCaption | Gets or sets whether or not this DXPopupMenu should display its caption. This setting is in effect only when the menu is associated with the Bar Manager. Inherited from DXPopupMenu. |
ShowHotKeyPrefix | Obsolete. Gets or sets whether the ampersand (‘&’) character, when it is found in the item’s DXMenuItem.Caption, acts as a shortcut prefix, or it is displayed as is. Inherited from DXMenuItem. |
ShowItemToolTips | Gets or sets whether this DXPopupMenu items should display their hints. Inherited from DXPopupMenu. |
SuperTip | Gets or sets a super tip for this DXMenuItem. Inherited from DXMenuItem. |
SvgImage | Gets or sets the vector image that is this DXMenuItem icon. Inherited from DXMenuItem. |
Tag | Gets or sets the data associated with the menu item. Inherited from DXMenuItem. |
ToolbarHideDistance | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXPopupMenu. |
ToolbarRowCount | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from DXPopupMenu. |
Visible | Gets or sets whether the menu item is visible. Inherited from DXMenuItem. |
Methods
Name | Description |
---|---|
BindCommand(Expression<Action>, Object, Func<Object>) | Uses the command selector to find an appropriate parameterized command in the source and bind it to this DXMenuItem. Inherited from DXMenuItem. |
BindCommand(Object, Func<Object>) | Binds the specific parameterized command to this DXMenuItem. Inherited from DXMenuItem. |
BindCommand<T>(Expression<Action<T>>, Object, Func<T>) | Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this DXMenuItem. Inherited from DXMenuItem. |
DisableMenuItem(T, Boolean) | Find a menu item specified by its Id and disable it. |
DisableMenuItem(T) | Find a menu item specified by its Id and disable it. |
Dispose() | Releases all the resources used by the current object. Inherited from DXMenuItem. |
EnableMenuItem(T, Boolean) | Find a menu item specified by its Id and enable it. |
EnableMenuItem(T) | Find a menu item specified by its Id and enable it. |
EnsureMenuDPI(ScaleHelper) | This method supports internal infrastructure and is not intended to be used in code. Inherited from DXPopupMenu. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GenerateBeforePopupEvent() | Invokes the event handler assigned to the DXSubMenuItem.BeforePopup event. Inherited from DXSubMenuItem. |
GenerateClickEvent() | Invokes the event handler assigned to the DXMenuItem.Click event. Inherited from DXMenuItem. |
GenerateCloseUpEvent() | Fires a specific event that typically occurs after the menu has disappeared. Inherited from DXPopupMenu. |
GetDXMenuItemById(DXPopupMenu, T, Boolean) static | Searches for a menu item specified by its ID within a specified menu object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetImage(ISvgPaletteProvider) | Returns the actual raster image displayed by this DXMenuItem. Inherited from DXMenuItem. |
GetImageSize() | Returns the size of the image displayed by this DXMenuItem. Inherited from DXMenuItem. |
GetIsRightToLeft() | Returns whether the menu items are actually aligned to support locales using right-to-left fonts. Inherited from DXPopupMenu. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HidePopup() | Hides the current popup menu. Inherited from DXPopupMenu. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MoveMenuCheckItem(T, Int32) | Moves a menu item with a check mark to a specified position. |
MoveMenuItem(T, Int32) | Moves a menu item to a specified position. |
MoveMenuItem(DXMenuItem, Int32) | Moves a menu item to a specified position. |
MoveSubMenuItem(T, Int32) | Moves a submenu item to a specified position. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
RemoveMenuItem(T, Boolean) | Find a menu item specified by its Id and remove it. |
RemoveMenuItem(T) | Find a menu item specified by its Id and remove it. |
ShowPopup(Control, Point, Boolean) | Displays the DXPopupMenu at specific coordinates. For internal use. Inherited from DXPopupMenu. |
ShowPopup(Control, Point) | Displays the DXPopupMenu at specific coordinates. Inherited from DXPopupMenu. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
BeforePopup | Allows you to dynamically provide sub-items for the current DXSubMenuItem object. Inherited from DXSubMenuItem. |
Click | Occurs when the menu item’s functionality needs to be invoked. Inherited from DXMenuItem. |
CloseUp | Fires after the menu has been closed. Inherited from DXPopupMenu. |
CommandCanExecuteChanged | Occurs when the CanExecute(Object) status of the Command has changed. Inherited from DXMenuItem. |
CommandChanged | Occurs after the value of the Command property has changed. Inherited from DXMenuItem. |
CommandParameterChanged | Occurs after the value of the CommandParameter property has changed. Inherited from DXMenuItem. |
ItemClick | Fires whenever a user clicks any item that belongs to this DXPopupMenu. Inherited from DXPopupMenu. |
PopupHide | This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from DXPopupMenu. |
See Also