ContextMenuInfo Members
Provides basic information about the context menu.Constructors
Name | Description |
---|---|
ContextMenuInfo(Object, ContextMenuRequestedEventArgs, String, FlyoutSettingsBase) | Initializes a new instance of the ContextMenuInfo class with specified settings. |
ContextMenuInfo(Object, ContextMenuRequestedEventArgs) | Initializes a new instance of the ContextMenuInfo class with specified settings. |
ContextMenuInfo(Object, UIElement, Object, String, FlyoutSettingsBase, Point) | Initializes a new instance of the ContextMenuInfo class with specified settings. |
Properties
Name | Description |
---|---|
Empty static | For internal use only. |
Header | Gets or sets the text shown in the context menu’s header. |
IsEmpty | Indicates whether the context menu has any content. |
MenuContent | The object or UI element shown in the context menu. |
Settings | Gets or sets the flyout settings applied to the context menu. |
Target | The UI element for which the context menu is shown. |
TargetDataContext | An object from the DataContext property of a target UI element for which the context menu is shown. |
TargetPosition | The point relative to which the context menu should be displayed. |
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