[]
The C1ContextMenu control represents a menu that can be displayed when the user clicks the right mouse button over a control.
public class C1ContextMenu : C1MenuList, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
| Name | Description |
|---|---|
| C1ContextMenu() | Initializes a new instance of the C1ContextMenu class. |
| Name | Description |
|---|---|
| PlacementTargetProperty | Identifies the PlacementTarget dependency property. |
| PlacementTargetQueryProperty | Identifies the PlacementTargetQuery dependency property. |
| PopupStyleProperty | Identifies the PopupStyle dependency property. |
| Name | Description |
|---|---|
| Closed | Occurs when the C1ContextMenu closes. |
| Closing | Occurs when the C1ContextMenu is closing. |
| IsOpen | Gets whether the menu is open. |
| Opened | Occurs when the C1ContextMenu opens. |
| PlacementTarget | Gets the element to which the displayed menu is relative to. |
| PlacementTargetQuery | Css selector query to select an element to which the displayed menu is relative to. |
| PopupStyle | Gets or sets the style of the popup. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| GetContentFragment() | Create control content RenderFragment. |
| OnAfterRender(bool) | |
| OnAfterRenderAsync(bool) | |
| OnClosed(EventArgs) | Raises the Closed event. |
| OnClosing(CancelEventArgs) | Raises the Closing event. |
| OnOpened(EventArgs) | Raises the Opened event. |