ContextMenu
Wisej.Web.ContextMenu
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
C#
VB.NET
public class ContextMenu : Menu
Public Class ContextMenu
Inherits Menu
Name | Type | Description |
---|---|---|
menuItems |
Name | Type | Description |
---|---|---|
container |
RightToLeft: Returns or sets whether the text displayed by the control is displayed from right to left.
Displays the context menu at the specified position in relation to the specified component.
Parameter | Type | Description |
---|---|---|
component | Can be any Wisej visual component: i.e. tool button, column header, etc. | |
position | ||
onclose | Optional async handler for the close event; called when the context menu has been closed. It's the equivalent of handling the event. |
Displays the context menu at the specified position.
Parameter | Type | Description |
---|---|---|
pos | ||
onclose | Optional async handler for the close event; called when the context menu has been closed. It's the equivalent of handling the event. |
Displays the context menu at the specified position in relation to the specified control.
Parameter | Type | Description |
---|---|---|
control | ||
position | ||
onclose | Optional async handler for the close event; called when the context menu has been closed. It's the equivalent of handling the event. |
Throws:
Displays the context menu at the specified position in relation to the specified control.
Parameter | Type | Description |
---|---|---|
control | ||
pos | A Point that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter. | |
onclose | Optional async handler for the close event; called when the context menu has been closed. It's the equivalent of handling the event. |
Throws:
Displays the context menu at the specified position and with the specified alignment in relation to the specified control.
Parameter | Type | Description |
---|---|---|
control | ||
pos | A Point that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter. | |
alignment | ||
onclose | Optional async handler for the close event; called when the context menu has been closed. It's the equivalent of handling the event. |
Throws:
Asynchronously displays the context menu at the specified position in relation to the specified component.
Parameter | Type | Description |
---|---|---|
component | Can be any Wisej visual component: i.e. tool button, column header, etc. | |
position |
Asynchronously displays the context menu at the specified position.
Asynchronously displays the context menu at the specified position in relation to the specified control.
Throws:
Asynchronously displays the context menu at the specified position in relation to the specified control.
Parameter | Type | Description |
---|---|---|
control | ||
pos | A Point that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter. |
Throws:
Asynchronously displays the context menu at the specified position and with the specified alignment in relation to the specified control.
Parameter | Type | Description |
---|---|---|
control | ||
pos | A Point that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter. | |
alignment |
Throws:
Updates the component on the client. Overridden to update the owner control.