RadContextMenu Class
Click or drag to resize
RadContextMenu Class
Represents a context menu
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      Telerik.WinControls.UIRadContextMenu
        More...

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
[TelerikToolboxCategoryAttribute("Menus & Toolbars")]
[RadToolboxItemAttribute(false)]
[DefaultPropertyAttribute("Items")]
[ToolboxBitmapAttribute(typeof(RadContextMenu), "RadDropDownMenu.bmp")]
public class RadContextMenu : Component, 
	IAnalyticsProvider

The RadContextMenu type exposes the following members.

Constructors
  NameDescription
Public methodRadContextMenu
Initializes a new instance of the RadContextMenu class
Public methodRadContextMenu(IContainer)
Initializes a new instance of the RadContextMenu class
Public methodRadContextMenu(RadElement)
Initializes a new instance of the RadContextMenu class
Top
Properties
  NameDescription
Public propertyAnalyticsName
Public propertyDropDown
Gets menu drop down panel
Public propertyEnableAnalytics
Gets or sets a value indicating whether the Analytics functionality is enabled or disabled for this control.
Public propertyImageList
Gets or sets the ImageList that contains the images displayed by this control.
Public propertyItems
Gets menu items collection
Public propertyThemeName
Gets or sets control's preferred theme name. Themes are stored and retrieved using APIs of ThemeResolutionService.
Top
Methods
  NameDescription
Protected methodDispose
Releases the unmanaged resources used by the RadContextMenu and optionally releases the managed resources
(Overrides ComponentDispose(Boolean).)
Protected methodOnDropDownClosed
Raises the DropDownClosed event.
Protected methodOnDropDownClosing
Raises the DropDownClosing event.
Protected methodOnDropDownOpened
Raises the DropDownOpened event.
Protected methodOnDropDownOpening
Raises the DropDownOpening event.
Public methodShow
Displays the context menu in its default position.
Public methodShow(Point)
Displays the context menu relative to the specified screen location.
Public methodShow(Point, RadDirection)
Positions the context menu relative to the specified screen location and with the specified direction.
Public methodShow(Int32, Int32)
Displays the context menu relative to the specified screen location.
Public methodShow(Control, Point)
Positions the context menu relative to the specified control location.
Public methodShow(RadItem, Point)
Positions the context menu relative to the specified RadItem location.
Public methodShow(Control, Point, RadDirection)
Positions the context menu relative to the specified control location and with the specified direction.
Public methodShow(Control, Int32, Int32)
Positions the context menu relative to the specified control location.
Public methodShow(RadItem, Point, RadDirection)
Positions the context menu relative to the specified RadItem location and with the specified direction.
Public methodShow(RadItem, Int32, Int32)
Positions the context menu relative to the specified RadItem location.
Public methodShow(RadItem, Int32, RadDirection)
Positions the context menu relative to the specified RadItem location and with specified direction and offset according to the owner.
Top
Events
  NameDescription
Public eventDropDownClosed
Occurs when the drop down is closed.
Public eventDropDownClosing
Occurs when the drop down is closing.
Public eventDropDownOpened
Occurs when the drop down is opened.
Public eventDropDownOpening
Occurs when the drop down is opening.
Top
See Also
Inheritance Hierarchy