ContextMenu Members
In This Article
#Constructors
Name | Description |
---|---|
Context |
Initializes a new instance of the Context |
Context |
|
Context |
Initializes a new instance of the Context |
#Fields
Name | Description |
---|---|
Content |
Identifies the Context |
Flyout |
Identifies the Context |
Flyout |
Identifies the Context |
Header |
Identifies the Context |
Menu |
Identifies the Context |
Requested |
Identifies the Context |
#Properties
Name | Description |
---|---|
Content | Gets or sets the UI element that represents the context menu. This is a dependency property. |
Flyout |
Gets or sets the flyout settings applied to the menu. This is a dependency property. |
Header | Gets or sets the menu header. This is a dependency property. |
Is |
Gets whether the menu is currently opened. |
Requested |
Gets or sets the theme that should be used for the menu content specified by the Context |
#Methods
Name | Description |
---|---|
Close() | Closes the context menu. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Gets the value of the Context |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the value of the Context |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Open() | Opens the context menu. |
Open |
Opens the context menu. |
Open |
Opens the context menu. |
Open |
Opens the context menu. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Set |
Sets the value of the Context |
Set |
Sets the value of the Context |
To |
Returns a string that represents the current object. Inherited from Object. |
#Events
Name | Description |
---|---|
Closed | Fires after the context menu has been closed. |
Opened | Fires after the context menu has been opened. |
Opening | Fires when the context menu is about to be invoked. |
#Attached Properties
Name | Description |
---|---|
Flyout |
Gets or sets whether the menu is aligned relative to its target or the cursor. This is an attached property. This is a dependency property. |
Menu static | Gets or sets the Context Menu assigned to the visual element. This is an attached property. This is a dependency property. |
See Also