ClassTextBoxControlDefaultContextMenu
Class
Represents a context menu of RadTextBoxControlElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
cs-api-definition
public class TextBoxControlDefaultContextMenu : RadContextMenu, IComponent, IDisposable, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentRadContextMenuTextBoxControlDefaultContextMenu
Implements:
Inherited Members
Constructors
TextBoxControlDefaultContextMenu(RadTextBoxControlElement)
Initializes a new instance of the TextBoxControlDefaultContextMenu class.
Declaration
cs-api-definition
public TextBoxControlDefaultContextMenu(RadTextBoxControlElement textBox)
Parameters
textBox
The text box.
Properties
TextBox
Gets the associated text box.
Declaration
cs-api-definition
protected RadTextBoxControlElement TextBox { get; }
Property Value
Methods
AddMenuItem(string)
Adds the menu item by localizable string identifier
Declaration
cs-api-definition
protected virtual RadMenuItem AddMenuItem(string stringId)
Parameters
stringId
The string id.
Returns
OnDropDownOpening(CancelEventArgs)
Raises the DropDownOpening event.
Declaration
cs-api-definition
protected override void OnDropDownOpening(CancelEventArgs args)
Parameters
args
The event arguments
Overrides