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

Represents a drop-down menu control that can be used as a popup menu for various UI elements. Provides functionality for displaying menu items with support for hierarchical menus, animations, and keyboard navigation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
[RadToolboxItem(false)]
public class RadDropDownMenu : RadItemsPopupControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControlRadDropDownMenu...

Derived Classes: RadContextMenuDropDownRadDropDownButtonPopupRadGalleryDropDownSchedulerInplaceDropDownMenuVirtualGridContextMenuSpreadsheetFilteringDropDownMenu...

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetIItemsControlILayoutHandlerINotifyPropertyChangedIPopupControlISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window...

Inherited Members RadItemsPopupControl.CallOnItemDeselected(ItemSelectedEventArgs)RadItemsPopupControl.OnDropDownOpening(CancelEventArgs)RadItemsPopupControl.OnDropDownClosing(RadPopupClosingEventArgs)RadItemsPopupControl.OnDropDownOpened()RadItemsPopupControl.AutoUpdateBounds()RadItemsPopupControl.GetSelectedItem()RadItemsPopupControl.SelectItem(RadItem)RadItemsPopupControl.GetNextItem(RadItem, bool)RadItemsPopupControl.SelectNextItem(RadItem, bool)RadItemsPopupControl.GetFirstVisibleItem()RadItemsPopupControl.GetLastVisibleItem()RadItemsPopupControl.SelectFirstVisibleItem()RadItemsPopupControl.SelectLastVisibleItem()RadItemsPopupControl.IsVisibleRadItemsPopupControl.ItemsRadItemsPopupControl.MinimumRadItemsPopupControl.MaximumRadItemsPopupControl.ActiveItemsRadItemsPopupControl.RollOverItemSelectionRadItemsPopupControl.ProcessKeyboardRadItemsPopupControl.ItemSelectedRadItemsPopupControl.ItemDeselectedRadItemsPopupControl.DropDownOpeningRadItemsPopupControl.DropDownClosingRadItemsPopupControl.DropDownOpenedRadItemsPopupControl.DropDownClosedRadPopupControlBase.lastAlignmentRectangleRadPopupControlBase.dpiScaleFactorRadPopupControlBase.AnimationPropertiesRadPopupControlBase.GetMonitorDpiScaleFactor(Control)RadPopupControlBase.Show(Control)RadPopupControlBase.Hide()RadPopupControlBase.ProcessFocusRequested(RadElement)RadPopupControlBase.WndProc(ref Message)RadPopupControlBase.OnPopupOpened()RadPopupControlBase.OnPopupClosed(RadPopupClosedEventArgs)RadPopupControlBase.OnPopupClosing(RadPopupClosingEventArgs)RadPopupControlBase.InitializeDropDownAnimation(Point)RadPopupControlBase.GetBackupSize()RadPopupControlBase.UpdateAeroEffectState()RadPopupControlBase.UpdateLocation(Rectangle)RadPopupControlBase.UpdateLocation()RadPopupControlBase.GetCorrectedLocation(Rectangle)RadPopupControlBase.GetCorrectedLocation(Screen, Rectangle)RadPopupControlBase.GetCorrectedLocation(Screen, Rectangle, Size)RadPopupControlBase.ApplySizingConstraints(Size, Screen)RadPopupControlBase.GetCurrentScreen(Rectangle)RadPopupControlBase.GetCurrentScreen()RadPopupControlBase.GetAvailableBoundsFromScreen(Screen)RadPopupControlBase.GetCorrectedHorizontalLocation(Screen, Rectangle, Point)RadPopupControlBase.GetCorrectedHorizontalLocation(Screen, Rectangle, Point, Size)RadPopupControlBase.GetCorrectedVerticalLocation(Screen, Rectangle, Point)RadPopupControlBase.GetCorrectedVerticalLocation(Screen, Rectangle, Point, Size)RadPopupControlBase.GetHorizontalPopupLocation(Rectangle)RadPopupControlBase.GetVerticalPopupLocation(Rectangle)RadPopupControlBase.AnimationStarting()RadPopupControlBase.OnAlternativeXLocationNeeded(Rectangle, Point, Rectangle)RadPopupControlBase.CheckMakeLastLocationCorrection(Rectangle, Point, Rectangle)RadPopupControlBase.CheckMakeLastLocationCorrection(Rectangle, Point, Rectangle, Size)RadPopupControlBase.OnAlternativeYLocationNeeded(Rectangle, Point, Rectangle)RadPopupControlBase.ShowPopupCore(Size, Point)RadPopupControlBase.ShowPopup(Rectangle)RadPopupControlBase.ClosePopup(PopupCloseInfo)RadPopupControlBase.OnPopupClosing(PopupCloseInfo)RadPopupControlBase.OnPopupClosed(PopupCloseInfo)RadPopupControlBase.ClosePopup(RadPopupCloseReason)RadPopupControlBase.CallMouseWheel(MouseEventArgs)RadPopupControlBase.OnAnimationFinished(AnimationEventArgs)RadPopupControlBase.OnAnimating(AnimationEventArgs)RadPopupControlBase.ShouldRestoreAutoSizeRadPopupControlBase.DropDownAnimationDirectionRadPopupControlBase.EasingTypeRadPopupControlBase.AnimationFramesRadPopupControlBase.AnimationEnabledRadPopupControlBase.AnimationTypeRadPopupControlBase.NonAnimatedSizeRadPopupControlBase.FadeAnimationFramesRadPopupControlBase.FadeAnimationSpeedRadPopupControlBase.OpacityRadPopupControlBase.DropShadowRadPopupControlBase.EnableAeroEffectsRadPopupControlBase.FadeAnimationTypeRadPopupControlBase.FitToScreenModeRadPopupControlBase.ScreenSpaceModeRadPopupControlBase.AlignmentRectangleOverlapModeRadPopupControlBase.HorizontalAlignmentCorrectionModeRadPopupControlBase.VerticalAlignmentCorrectionModeRadPopupControlBase.VerticalPopupAlignmentRadPopupControlBase.HorizontalPopupAlignmentRadPopupControlBase.CreateParamsRadPopupControlBase.OwnerElementRadPopupControlBase.OwnerPopupRadPopupControlBase.LastShowDpiScaleFactorRadPopupControlBase.WindowsSettingsRadPopupControlBase.ChildrenRadPopupControlBase.MouseWheelRadPopupControlBase.FadeAnimationFinishedRadPopupControlBase.PopupOpeningRadPopupControlBase.PopupOpenedRadPopupControlBase.PopupClosingRadPopupControlBase.PopupClosedRadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.CreateChildItems(RadElement)RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnBindingContextChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DefaultSizeControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

Constructors

Initializes a new instance of the RadDropDownMenu class with no owner element.

C#
public RadDropDownMenu()

Initializes a new instance of the RadDropDownMenu class with the specified owner element.

C#
public RadDropDownMenu(RadElement ownerElement)
Parameters:ownerElementRadElement

The RadElement that represents the owner of this drop-down menu, or null if no owner is specified.

Properties

This property is not relevant for this class.

C#
[Browsable(false)]
public bool CausesValidation { get; set; }

Gets the item that has been clicked. This property is valid when the drop-down is closed by an item click.

C#
public RadItem ClickedItem { get; }

Gets or sets the image displayed in the header column of the menu.

C#
public Image HeaderImage { get; set; }

Gets or sets the text displayed in the header column of the menu.

C#
public string HeaderText { get; set; }

Gets or sets a value indicating whether the drop-down menu contains one or two columns of items. This property is currently not implemented and always returns false.

C#
public virtual bool IsTwoColumnMenu { get; set; }

Gets or sets the popup element that contains the menu items and provides the visual representation of the drop-down menu.

C#
public RadElement PopupElement { get; set; }

Gets the root component tree handler by traversing up the popup ownership hierarchy to find the topmost control's tree handler.

C#
public IComponentTreeHandler RootTreeHandler { get; }

Gets or sets the theme class name for the drop-down menu. The theme class name resolution follows a hierarchy: checking owner inheritance, local settings, owner control theme capability, and finally the default class name.

C#
public override string ThemeClassName { get; set; }

Overrides: RadControl.ThemeClassName

Gets or sets a value indicating whether the drop-down menu should be displayed at the current mouse cursor position instead of being anchored to the OwnerElement. The OwnerElement is still used for DPI scaling, theming and binding context resolution.

C#
public bool UseMousePosition { get; set; }

Methods

Determines whether the popup can be closed for the specified reason, considering owner element state and mouse interaction.

C#
public override bool CanClosePopup(RadPopupCloseReason reason)
Parameters:reasonRadPopupCloseReason

The reason for closing the popup.

Returns:

bool

True if the popup can be closed; otherwise, false.

Overrides: RadPopupControlBase.CanClosePopup(RadPopupCloseReason)

Determines whether the drop-down menu can handle navigation with the specified key.

C#
public override bool CanNavigate(Keys keyData)
Parameters:keyDataKeys

The key data to evaluate for navigation capability.

Returns:

bool

True if the key can be used for navigation; otherwise, false.

Overrides: RadItemsPopupControl.CanNavigate(Keys)

Determines whether the specified menu item can be processed for user interaction.

C#
protected virtual bool CanProcessItem(RadMenuItemBase menuItem)
Parameters:menuItemRadMenuItemBase

The menu item to evaluate.

Returns:

bool

True if the menu item is not null and is enabled; otherwise, false.

Determines whether the drop-down menu can process the specified mnemonic character.

C#
public override bool CanProcessMnemonic(char keyData)
Parameters:keyDatachar

The character to evaluate for mnemonic processing.

Returns:

bool

True if the character can be processed as a mnemonic; otherwise, false.

Overrides: RadItemsPopupControl.CanProcessMnemonic(char)

Checks whether navigation is possible with the specified key based on the current selection and menu state.

C#
protected virtual bool CheckCanNavigate(Keys keyData)
Parameters:keyDataKeys

The key to evaluate for navigation capability.

Returns:

bool

True if navigation is possible with the specified key; otherwise, false.

Recursively checks whether the specified mnemonic character can be processed by the items control or its child menus.

C#
protected virtual bool CheckCanProcessMnemonic(IItemsControl itemsControl, char keyData)
Parameters:itemsControlIItemsControl

The items control to check for mnemonic processing capability.

keyDatachar

The character to evaluate for mnemonic processing.

Returns:

bool

True if the character can be processed as a mnemonic; otherwise, false.

Determines whether this control defines the theme for the specified element, considering owner inheritance and element type.

C#
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters:elementRadElement

The element to evaluate for theme definition.

Returns:

bool

True if this control defines the theme for the element; otherwise, false.

Overrides: RadControl.ControlDefinesThemeForElement(RadElement)

Creates an accessibility object for the drop-down menu to support assistive technologies.

C#
protected override AccessibleObject CreateAccessibilityInstance()
Returns:

AccessibleObject

A new RadDropDownMenuAccessibleObject if accessibility is enabled; otherwise, the base accessibility object.

Overrides: Control.CreateAccessibilityInstance()

Creates the popup element that will contain the menu items for the drop-down menu.

C#
protected virtual RadElement CreatePopupElement()
Returns:

RadElement

A new RadDropDownMenuElement configured as the popup container.

Releases the unmanaged resources used by the RadDropDownMenu and optionally releases the managed resources.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

True to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: RadItemsPopupControl.Dispose(bool)

Handles the clicking action on a menu item, managing selection, popup closure, and child menu display.

C#
protected virtual void DoOnItemClicked(RadMenuItemBase menuItem, MouseEventArgs e)
Parameters:menuItemRadMenuItemBase

The menu item that was clicked.

eMouseEventArgs

The mouse event arguments.

Ensures that an enabled item is selected by cycling through items in the specified direction until an enabled item is found.

C#
protected virtual void EnsureItemEnabled(RadItem item, bool isUp)
Parameters:itemRadItem

The currently selected item to start from.

isUpbool

True to search upward; false to search downward.

Gets the menu item at the specified location by traversing up the element tree.

C#
protected RadMenuItemBase GetMenuItemAtPoint(Point location)
Parameters:locationPoint

The location to search for a menu item.

Returns:

RadMenuItemBase

The RadMenuItemBase at the specified location, or null if no menu item is found.

Gets the screen location of the owner element used for positioning the drop-down menu.

C#
protected virtual Point GetOwnerScreenLocation()
Returns:

Point

The screen coordinates of the owner element.

Gets the size of the owner element used for positioning calculations.

C#
protected virtual Size GetOwnerSize()
Returns:

Size

The size of the owner element, or Empty if no owner is available.

Initializes the child elements of the drop-down menu, setting up the root element properties and creating the popup element if necessary.

C#
protected virtual void InitializeChildren()
C#
protected override void OnDropDownClosed(RadPopupClosedEventArgs args)
Parameters:argsRadPopupClosedEventArgs

Overrides: RadItemsPopupControl.OnDropDownClosed(RadPopupClosedEventArgs)

Called when a drop-down location is needed and provides an opportunity to customize the location.

C#
protected virtual Point OnDropDownLocationNeeded(Point point)
Parameters:pointPoint

The requested location point.

Returns:

Point

The location where the drop-down should be displayed.

Handles item deselection events, updating the selected state of the menu item.

C#
protected override void OnItemDeselected(ItemSelectedEventArgs args)
Parameters:argsItemSelectedEventArgs

The item selection event arguments.

Overrides: RadItemsPopupControl.OnItemDeselected(ItemSelectedEventArgs)

Handles changes to the menu items collection, updating hierarchy relationships and ownership.

C#
protected virtual void OnItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
Parameters:changedRadItemCollection

The collection that was changed.

targetRadItem

The menu item that was affected by the change.

operationItemsChangeOperation

The type of change operation that occurred.

Handles item selection events, updating the selected state and accessibility notifications.

C#
protected override void OnItemSelected(ItemSelectedEventArgs args)
Parameters:argsItemSelectedEventArgs

The item selection event arguments.

Overrides: RadItemsPopupControl.OnItemSelected(ItemSelectedEventArgs)

Handles key down events for menu navigation, item selection, and mnemonic processing.

C#
public override bool OnKeyDown(Keys keyData)
Parameters:keyDataKeys

The key data to process.

Returns:

bool

True if the key was handled; otherwise, false.

Overrides: RadPopupControlBase.OnKeyDown(Keys)

Handles the load event for the drop-down menu, setting up image list and binding context from the owner element if available.

C#
protected override void OnLoad(Size desiredSize)
Parameters:desiredSizeSize

The desired size for the menu.

Overrides: RadControl.OnLoad(Size)

C#
protected override void OnMouseClick(MouseEventArgs e)
Parameters:eMouseEventArgs

Overrides: Control.OnMouseClick(MouseEventArgs)

Handles mouse down events for the drop-down menu, processing menu item interactions and child drop-down display.

C#
protected override void OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The mouse event arguments.

Overrides: RadControl.OnMouseDown(MouseEventArgs)

Handles mouse move events for the drop-down menu, managing item selection and child menu timing.

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The mouse event arguments.

Overrides: RadControl.OnMouseMove(MouseEventArgs)

Handles mouse wheel events to scroll the menu content when the vertical scrollbar is visible.

C#
public override bool OnMouseWheel(Control target, int delta)
Parameters:targetControl

The target control for the mouse wheel event.

deltaint

The wheel delta value indicating scroll direction and amount.

Returns:

bool

True if the mouse wheel event was handled; otherwise, false.

Overrides: RadPopupControlBase.OnMouseWheel(Control, int)

Fires when the popup is about to open.

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

A CancelEventArgs object that contains information about the event

Overrides: RadPopupControlBase.OnPopupOpening(CancelEventArgs)

Handles screen tip needed events by delegating to the root owner control in the hierarchy.

C#
protected override void OnScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
Parameters:senderobject

The source of the event.

eScreenTipNeededEventArgs

The screen tip needed event arguments.

Overrides: RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)

Handles tooltip text needed events by delegating to the root owner control in the hierarchy.

C#
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters:senderobject

The source of the event.

eToolTipTextNeededEventArgs

The tooltip text needed event arguments.

Overrides: RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)

Performs a click action on the specified menu item, handling child menu expansion or popup closure as appropriate.

C#
protected void PerformItemClick(RadMenuItemBase menuItem)
Parameters:menuItemRadMenuItemBase

The menu item to perform the click action on.

Performs the click action on a menu item if conditions are met (not in design time and not under mouse).

C#
protected virtual void PerformMenuItemClick(RadMenuItemBase menuItem)
Parameters:menuItemRadMenuItemBase

The menu item to perform the click action on.

Processes dialog character input for the drop-down menu.

C#
protected override bool ProcessDialogChar(char charCode)
Parameters:charCodechar

The character code to process.

Returns:

bool

Always returns true to indicate the character was processed.

Overrides: Control.ProcessDialogChar(char)

Processes left and right navigation keys for expanding/collapsing child menus and closing parent menus.

C#
protected virtual bool ProcessLeftRightNavigationKey(bool isLeft)
Parameters:isLeftbool

True for left navigation; false for right navigation.

Returns:

bool

True if the navigation was processed; otherwise, false.

Processes mnemonic key input to find and activate matching menu items.

C#
protected virtual bool ProcessMnemonic(Keys keyData)
Parameters:keyDataKeys

The key data to process as a mnemonic.

Returns:

bool

True if a mnemonic was found and processed; otherwise, false.

Processes up and down navigation keys, selecting the appropriate item in the specified direction.

C#
protected virtual bool ProcessUpDownNavigationKey(bool isUp)
Parameters:isUpbool

True for up navigation; false for down navigation.

Returns:

bool

True if the navigation was processed; otherwise, false.

Sets the visible state of the control, managing popup positioning and selection state.

C#
protected override void SetVisibleCore(bool value)
Parameters:valuebool

True to make the control visible; false to hide it.

Overrides: Control.SetVisibleCore(bool)

Displays the RadDropDownMenu in its default position.

C#
public void Show()

Displays the RadDropDownMenu relative to the specified control at the given offset coordinates.

C#
public void Show(Control control, int x, int y)
Parameters:controlControl

The control that serves as the reference point for positioning the menu.

xint

The horizontal offset from the control's location, in pixels.

yint

The vertical offset from the control's location, in pixels.

Displays the RadDropDownMenu relative to the specified control with the given popup direction.

C#
public void Show(Control control, Point point, RadDirection popupDirection)
Parameters:controlControl

The control that serves as the reference point for positioning the menu.

pointPoint

The offset from the control's location where the menu should be displayed.

popupDirectionRadDirection

The direction in which the menu should open.

Displays the RadDropDownMenu relative to the specified control at the given offset point.

C#
public void Show(Control control, Point point)
Parameters:controlControl

The control that serves as the reference point for positioning the menu.

pointPoint

The offset from the control's location where the menu should be displayed.

Displays the RadDropDownMenu at the specified screen coordinates.

C#
public void Show(int x, int y)
Parameters:xint

The horizontal screen coordinate, in pixels.

yint

The vertical screen coordinate, in pixels.

Displays the RadDropDownMenu at the specified screen location with the specified popup direction.

C#
public void Show(Point point, RadDirection popupDirection)
Parameters:pointPoint

The screen coordinates where the menu should be displayed.

popupDirectionRadDirection

The direction in which the menu should open.

Displays the RadDropDownMenu at the specified screen location.

C#
public void Show(Point point)
Parameters:pointPoint

The screen coordinates where the menu should be displayed.

Displays the RadDropDownMenu relative to the specified RadItem at the given offset coordinates.

C#
public void Show(RadItem item, int x, int y)
Parameters:itemRadItem

The RadItem that serves as the reference point for positioning the menu.

xint

The horizontal offset from the item's location, in pixels.

yint

The vertical offset from the item's location, in pixels.

Displays the RadDropDownMenu relative to the specified RadItem with the specified direction and owner offset.

C#
public void Show(RadItem item, int ownerOffset, RadDirection popupDirection)
Parameters:itemRadItem

The RadItem that serves as the reference point for positioning the menu.

ownerOffsetint

The offset from the owner element, in pixels.

popupDirectionRadDirection

The direction in which the menu should open.

Displays the RadDropDownMenu relative to the specified RadItem with the given popup direction.

C#
public void Show(RadItem item, Point point, RadDirection popupDirection)
Parameters:itemRadItem

The RadItem that serves as the reference point for positioning the menu.

pointPoint

The offset from the item's location where the menu should be displayed.

popupDirectionRadDirection

The direction in which the menu should open.

Displays the RadDropDownMenu relative to the specified RadItem at the given offset point.

C#
public void Show(RadItem item, Point point)
Parameters:itemRadItem

The RadItem that serves as the reference point for positioning the menu.

pointPoint

The offset from the item's location where the menu should be displayed.

Core implementation for displaying the drop-down menu at the specified location with the given direction and offset. Handles DPI scaling, theme setup, layout calculation, and popup positioning.

C#
protected virtual void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)
Parameters:pointPoint

The screen coordinates where the menu should be displayed.

ownerOffsetint

The offset from the owner element, in pixels.

popupDirectionRadDirection

The direction in which the menu should open.

In this article
DefinitionConstructorsRadDropDownMenu()RadDropDownMenu(RadElement)PropertiesCausesValidationClickedItemHeaderImageHeaderTextIsTwoColumnMenuPopupElementRootTreeHandlerThemeClassNameUseMousePositionMethodsCanClosePopup(RadPopupCloseReason)CanNavigate(Keys)CanProcessItem(RadMenuItemBase)CanProcessMnemonic(char)CheckCanNavigate(Keys)CheckCanProcessMnemonic(IItemsControl, char)ControlDefinesThemeForElement(RadElement)CreateAccessibilityInstance()CreatePopupElement()Dispose(bool)DoOnItemClicked(RadMenuItemBase, MouseEventArgs)EnsureItemEnabled(RadItem, bool)GetMenuItemAtPoint(Point)GetOwnerScreenLocation()GetOwnerSize()InitializeChildren()OnDropDownClosed(RadPopupClosedEventArgs)OnDropDownLocationNeeded(Point)OnItemDeselected(ItemSelectedEventArgs)OnItemsChanged(RadItemCollection, RadItem, ItemsChangeOperation)OnItemSelected(ItemSelectedEventArgs)OnKeyDown(Keys)OnLoad(Size)OnMouseClick(MouseEventArgs)OnMouseDown(MouseEventArgs)OnMouseMove(MouseEventArgs)OnMouseWheel(Control, int)OnPopupOpening(CancelEventArgs)OnScreenTipNeeded(object, ScreenTipNeededEventArgs)OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)PerformItemClick(RadMenuItemBase)PerformMenuItemClick(RadMenuItemBase)ProcessDialogChar(char)ProcessLeftRightNavigationKey(bool)ProcessMnemonic(Keys)ProcessUpDownNavigationKey(bool)SetVisibleCore(bool)Show()Show(Control, int, int)Show(Control, Point, RadDirection)Show(Control, Point)Show(int, int)Show(Point, RadDirection)Show(Point)Show(RadItem, int, int)Show(RadItem, int, RadDirection)Show(RadItem, Point, RadDirection)Show(RadItem, Point)ShowCore(Point, int, RadDirection)
Not finding the help you need?
Contact Support