New to Telerik UI for WinFormsStart a free 30-day trial

Represents a context menu of RadTextBoxControlElement

Definition

Constructors

Initializes a new instance of the TextBoxControlDefaultContextMenu class.

C#
public TextBoxControlDefaultContextMenu(RadTextBoxControlElement textBox)
Parameters:textBoxRadTextBoxControlElement

The text box.

Properties

Gets the associated text box.

C#
protected RadTextBoxControlElement TextBox { get; }

Methods

Adds the menu item by localizable string identifier

C#
protected virtual RadMenuItem AddMenuItem(string stringId)
Parameters:stringIdstring

The string id.

Returns:

RadMenuItem

Raises the DropDownOpening event.

C#
protected override void OnDropDownOpening(CancelEventArgs args)
Parameters:argsCancelEventArgs

The event arguments

Overrides: RadContextMenu.OnDropDownOpening(CancelEventArgs)