DXPopupMenu Members
A base class for popup menus in DevExpress .NET controls.Constructors
Name | Description |
---|---|
DXPopupMenu(ScaleHelper) | This method supports internal infrastructure and is not intended to be used in code. |
DXPopupMenu(EventHandler, ScaleHelper) | This method supports internal infrastructure and is not intended to be used in code. |
DXPopupMenu(Control, ScaleHelper) | This method supports internal infrastructure and is not intended to be used in code. |
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. |
Properties
Name | Description |
---|---|
Alignment | Gets or sets the menu’s alignment relative to the mouse cursor. |
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. |
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. |
DeviceDpi | This member supports the internal infrastructure and is not intended to be used directly from code. |
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. |
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. |
IsRightToLeft | Gets or sets whether the menu is aligned to support locales using right-to-left fonts. |
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). |
MultiColumn | Gets or sets whether items in this DXPopupMenu can be displayed in multiple columns. |
OptionsMultiColumn | Provides access to the set of properties that manage multi-column item layout in this 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. |
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. |
ScaleFactor | This member supports the internal infrastructure and is not intended to be used directly from code. |
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. |
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. |
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. |
ToolbarRowCount | This member supports the internal infrastructure, and is not intended to be used directly from your code. |
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. |
Dispose() | Releases all the resources used by the current object. Inherited from DXMenuItem. |
EnsureMenuDPI(ScaleHelper) | This method supports internal infrastructure and is not intended to be used in code. |
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. |
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. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
HidePopup() | Hides the current popup menu. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ShowPopup(Control, Point, Boolean) | Displays the DXPopupMenu at specific coordinates. For internal use. |
ShowPopup(Control, Point) | Displays the DXPopupMenu at specific coordinates. |
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. |
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. |
PopupHide | This member supports the internal infrastructure and is not intended to be used directly from your code. |
See Also