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

Represents a context menu of RadTextBoxControlElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBoxControlDefaultContextMenu : RadContextMenu, IComponent, IDisposable, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentRadContextMenuTextBoxControlDefaultContextMenu

Implements: IAnalyticsProviderIComponentIDisposable

Inherited Members RadContextMenu.Show()RadContextMenu.Show(int, int)RadContextMenu.Show(Point)RadContextMenu.Show(Point, RadDirection)RadContextMenu.Show(Control, int, int)RadContextMenu.Show(Control, Point)RadContextMenu.Show(Control, Point, RadDirection)RadContextMenu.Show(RadItem, int, int)RadContextMenu.Show(RadItem, Point)RadContextMenu.Show(RadItem, Point, RadDirection)RadContextMenu.Show(RadItem, int, RadDirection)RadContextMenu.OnDropDownClosing(CancelEventArgs)RadContextMenu.OnDropDownOpened()RadContextMenu.OnDropDownClosed()RadContextMenu.Dispose(bool)RadContextMenu.ItemsRadContextMenu.ThemeNameRadContextMenu.ImageListRadContextMenu.DropDownRadContextMenu.AnimationEnabledRadContextMenu.AnimationFramesRadContextMenu.AnimationTypeRadContextMenu.EnableAnalyticsRadContextMenu.DropDownOpeningRadContextMenu.DropDownClosingRadContextMenu.DropDownOpenedRadContextMenu.DropDownClosedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

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)