ContextMenu Methods
Represents a flyout menu that can be attached to any visual element.Name | Description |
---|---|
Close() | Closes the context menu. |
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. |
GetFlyoutPlacementBehavior(FlyoutBase) static | Gets the value of the ContextMenu.FlyoutPlacementBehavior attached property for a specified flyout element. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetMenu(DependencyObject) static | Gets the value of the ContextMenu.Menu attached property for a specified DependencyObject. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
Open() | Opens the context menu. |
Open(ContextMenuInfo) | Opens the context menu. |
Open(Object, Object, UIElement, Point, String, FlyoutSettingsBase) | Opens the context menu. |
Open(Point) | Opens the context menu. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
SetFlyoutPlacementBehavior(FlyoutBase, FlyoutPlacementBehavior) static | Sets the value of the ContextMenu.FlyoutPlacementBehavior attached property to a specified flyout element. |
SetMenu(DependencyObject, ContextMenu) static | Sets the value of the ContextMenu.Menu attached property to a specified DependencyObject. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also