Skip to main content
A newer version of this page is available. .

DXMenuItem Methods

Represents a regular menu item.
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.
BindCommand(Object, Func<Object>) Binds the specific parameterized command to this 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.
Dispose() Releases all the resources used by the current object.
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.
GenerateClickEvent() Invokes the event handler assigned to the DXMenuItem.Click event.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImage(ISvgPaletteProvider) Returns the actual raster image displayed by this DXMenuItem.
GetImageSize() Returns the size of the image displayed by this DXMenuItem.
GetIsRightToLeft() Returns whether the current menu item is actually aligned to support locales using right-to-left fonts.
GetType() Gets the Type of the current instance. Inherited from Object.
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.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also