ContextMenu

Wisej.Web.ContextMenu

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents a context menu associated to a Control.

public class ContextMenu : Menu

Constructors

Initializes a new instance of the ContextMenu class with no menu items specified.

Initializes a new instance of the ContextMenu class with a specified set of MenuItem objects.

Properties

RightToLeft: Returns or sets whether the text displayed by the control is displayed from right to left.

IWisejComponent: Returns the component that is displaying the shortcut menu.

Control: Returns the control that is displaying the shortcut menu.

Methods

Displays the context menu at the specified position in relation to the specified component.

Displays the context menu at the specified position.

Displays the context menu at the specified position in relation to the specified control.

Throws:

Displays the context menu at the specified position in relation to the specified control.

Throws:

Displays the context menu at the specified position and with the specified alignment in relation to the specified control.

Throws:

Asynchronously displays the context menu at the specified position in relation to the specified component.

Returns: Task.

Asynchronously displays the context menu at the specified position.

Returns: Task.

Asynchronously displays the context menu at the specified position in relation to the specified control.

Returns: Task.

Throws:

Asynchronously displays the context menu at the specified position in relation to the specified control.

Returns: Task.

Throws:

Asynchronously displays the context menu at the specified position and with the specified alignment in relation to the specified control.

Returns: Task.

Throws:

Updates the component on the client. Overridden to update the owner control.

Events

EventHandler Fired when the context menu collapses.

EventHandler Occurs before the context menu is displayed on the client.

EventHandler Occurs after the context menu is displayed on the client.

Implements

Last updated