Skip to main content

GridContextMenuInfoBase Members

The base class for context menu info classes used in GridControl context menus.

Constructors

Name Description
GridContextMenuInfoBase(Object, GridHitTestInfo, Object, GridControl) Initializes a new instance of the GridContextMenuInfoBase class with specified settings.

Properties

Name Description
Commands Provides access to GridControl commands.
Empty static For internal use only. Inherited from ContextMenuInfo.
Grid Provides the target GridControl instance for the current context menu.
Header Gets or sets the text shown in the context menu’s header. Inherited from ContextMenuInfo.
IsEmpty Indicates whether the context menu has any content. Inherited from ContextMenuInfo.
MenuContent The object or UI element shown in the context menu. Inherited from ContextMenuInfo.
MenuType Gets the context menu’s type.
Settings Gets or sets the flyout settings applied to the context menu. Inherited from ContextMenuInfo.
Target The UI element for which the context menu is shown. Inherited from ContextMenuInfo.
TargetDataContext An object from the DataContext property of a target UI element for which the context menu is shown. Inherited from ContextMenuInfo.
TargetPosition The point relative to which the context menu should be displayed. Inherited from ContextMenuInfo.

Methods

Name Description
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.
GetHashCode() Serves as the default hash function. Inherited from Object.
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