Class
RadDropDownMenu

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:

cs-api-definition
[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.OnPopupOpening(CancelEventArgs)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

RadDropDownMenu()

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

Declaration

cs-api-definition
public RadDropDownMenu()

RadDropDownMenu(RadElement)

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

Declaration

cs-api-definition
public RadDropDownMenu(RadElement ownerElement)

Parameters

ownerElement

RadElement

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

Properties

CausesValidation

This property is not relevant for this class.

Declaration

cs-api-definition
[Browsable(false)]
public bool CausesValidation { get; set; }

Property Value

bool

ClickedItem

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

Declaration

cs-api-definition
public RadItem ClickedItem { get; }

Property Value

RadItem

HeaderImage

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

Declaration

cs-api-definition
public Image HeaderImage { get; set; }

Property Value

Image

HeaderText

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

Declaration

cs-api-definition
public string HeaderText { get; set; }

Property Value

string

IsTwoColumnMenu

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.

Declaration

cs-api-definition
public virtual bool IsTwoColumnMenu { get; set; }

Property Value

bool

PopupElement

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

Declaration

cs-api-definition
public RadElement PopupElement { get; set; }

Property Value

RadElement

RootTreeHandler

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

Declaration

cs-api-definition
public IComponentTreeHandler RootTreeHandler { get; }

Property Value

IComponentTreeHandler

ThemeClassName

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.

Declaration

cs-api-definition
public override string ThemeClassName { get; set; }

Property Value

string

Overrides RadControl.ThemeClassName

Methods

CanClosePopup(RadPopupCloseReason)

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

Declaration

cs-api-definition
public override bool CanClosePopup(RadPopupCloseReason reason)

Parameters

reason

RadPopupCloseReason

The reason for closing the popup.

Returns

bool

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

Overrides RadPopupControlBase.CanClosePopup(RadPopupCloseReason)

CanNavigate(Keys)

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

Declaration

cs-api-definition
public override bool CanNavigate(Keys keyData)

Parameters

keyData

Keys

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)

CanProcessItem(RadMenuItemBase)

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

Declaration

cs-api-definition
protected virtual bool CanProcessItem(RadMenuItemBase menuItem)

Parameters

menuItem

RadMenuItemBase

The menu item to evaluate.

Returns

bool

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

CanProcessMnemonic(char)

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

Declaration

cs-api-definition
public override bool CanProcessMnemonic(char keyData)

Parameters

keyData

char

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)

CheckCanNavigate(Keys)

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

Declaration

cs-api-definition
protected virtual bool CheckCanNavigate(Keys keyData)

Parameters

keyData

Keys

The key to evaluate for navigation capability.

Returns

bool

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

CheckCanProcessMnemonic(IItemsControl, char)

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

Declaration

cs-api-definition
protected virtual bool CheckCanProcessMnemonic(IItemsControl itemsControl, char keyData)

Parameters

itemsControl

IItemsControl

The items control to check for mnemonic processing capability.

keyData

char

The character to evaluate for mnemonic processing.

Returns

bool

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

ControlDefinesThemeForElement(RadElement)

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

Declaration

cs-api-definition
public override bool ControlDefinesThemeForElement(RadElement element)

Parameters

element

RadElement

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)

CreateAccessibilityInstance()

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

Declaration

cs-api-definition
protected override AccessibleObject CreateAccessibilityInstance()

Returns

AccessibleObject

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

Overrides Control.CreateAccessibilityInstance()

CreatePopupElement()

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

Declaration

cs-api-definition
protected virtual RadElement CreatePopupElement()

Returns

RadElement

A new RadDropDownMenuElement configured as the popup container.

Dispose(bool)

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

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

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

Overrides RadItemsPopupControl.Dispose(bool)

DoOnItemClicked(RadMenuItemBase, MouseEventArgs)

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

Declaration

cs-api-definition
protected virtual void DoOnItemClicked(RadMenuItemBase menuItem, MouseEventArgs e)

Parameters

menuItem

RadMenuItemBase

The menu item that was clicked.

e

MouseEventArgs

The mouse event arguments.

EnsureItemEnabled(RadItem, bool)

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

Declaration

cs-api-definition
protected virtual void EnsureItemEnabled(RadItem item, bool isUp)

Parameters

item

RadItem

The currently selected item to start from.

isUp

bool

True to search upward; false to search downward.

GetMenuItemAtPoint(Point)

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

Declaration

cs-api-definition
protected RadMenuItemBase GetMenuItemAtPoint(Point location)

Parameters

location

Point

The location to search for a menu item.

Returns

RadMenuItemBase

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

GetOwnerScreenLocation()

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

Declaration

cs-api-definition
protected virtual Point GetOwnerScreenLocation()

Returns

Point

The screen coordinates of the owner element.

GetOwnerSize()

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

Declaration

cs-api-definition
protected virtual Size GetOwnerSize()

Returns

Size

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

InitializeChildren()

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

Declaration

cs-api-definition
protected virtual void InitializeChildren()

OnDropDownClosed(RadPopupClosedEventArgs)

Declaration

cs-api-definition
protected override void OnDropDownClosed(RadPopupClosedEventArgs args)

Parameters

args

RadPopupClosedEventArgs

Overrides RadItemsPopupControl.OnDropDownClosed(RadPopupClosedEventArgs)

OnDropDownLocationNeeded(Point)

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

Declaration

cs-api-definition
protected virtual Point OnDropDownLocationNeeded(Point point)

Parameters

point

Point

The requested location point.

Returns

Point

The location where the drop-down should be displayed.

OnItemDeselected(ItemSelectedEventArgs)

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

Declaration

cs-api-definition
protected override void OnItemDeselected(ItemSelectedEventArgs args)

Parameters

args

ItemSelectedEventArgs

The item selection event arguments.

Overrides RadItemsPopupControl.OnItemDeselected(ItemSelectedEventArgs)

OnItemSelected(ItemSelectedEventArgs)

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

Declaration

cs-api-definition
protected override void OnItemSelected(ItemSelectedEventArgs args)

Parameters

args

ItemSelectedEventArgs

The item selection event arguments.

Overrides RadItemsPopupControl.OnItemSelected(ItemSelectedEventArgs)

OnItemsChanged(RadItemCollection, RadItem, ItemsChangeOperation)

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

Declaration

cs-api-definition
protected virtual void OnItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)

Parameters

changed

RadItemCollection

The collection that was changed.

target

RadItem

The menu item that was affected by the change.

operation

ItemsChangeOperation

The type of change operation that occurred.

OnKeyDown(Keys)

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

Declaration

cs-api-definition
public override bool OnKeyDown(Keys keyData)

Parameters

keyData

Keys

The key data to process.

Returns

bool

True if the key was handled; otherwise, false.

Overrides RadPopupControlBase.OnKeyDown(Keys)

OnLoad(Size)

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

Declaration

cs-api-definition
protected override void OnLoad(Size desiredSize)

Parameters

desiredSize

Size

The desired size for the menu.

Overrides RadControl.OnLoad(Size)

OnMouseClick(MouseEventArgs)

Declaration

cs-api-definition
protected override void OnMouseClick(MouseEventArgs e)

Parameters

e

MouseEventArgs

Overrides Control.OnMouseClick(MouseEventArgs)

OnMouseDown(MouseEventArgs)

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

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadControl.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

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

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadControl.OnMouseMove(MouseEventArgs)

OnMouseWheel(Control, int)

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

Declaration

cs-api-definition
public override bool OnMouseWheel(Control target, int delta)

Parameters

target

Control

The target control for the mouse wheel event.

delta

int

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)

OnScreenTipNeeded(object, ScreenTipNeededEventArgs)

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

Declaration

cs-api-definition
protected override void OnScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)

Parameters

sender

object

The source of the event.

e

ScreenTipNeededEventArgs

The screen tip needed event arguments.

Overrides RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)

OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)

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

Declaration

cs-api-definition
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)

Parameters

sender

object

The source of the event.

e

ToolTipTextNeededEventArgs

The tooltip text needed event arguments.

Overrides RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)

PerformItemClick(RadMenuItemBase)

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

Declaration

cs-api-definition
protected void PerformItemClick(RadMenuItemBase menuItem)

Parameters

menuItem

RadMenuItemBase

The menu item to perform the click action on.

PerformMenuItemClick(RadMenuItemBase)

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

Declaration

cs-api-definition
protected virtual void PerformMenuItemClick(RadMenuItemBase menuItem)

Parameters

menuItem

RadMenuItemBase

The menu item to perform the click action on.

ProcessDialogChar(char)

Processes dialog character input for the drop-down menu.

Declaration

cs-api-definition
protected override bool ProcessDialogChar(char charCode)

Parameters

charCode

char

The character code to process.

Returns

bool

Always returns true to indicate the character was processed.

Overrides Control.ProcessDialogChar(char)

ProcessLeftRightNavigationKey(bool)

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

Declaration

cs-api-definition
protected virtual bool ProcessLeftRightNavigationKey(bool isLeft)

Parameters

isLeft

bool

True for left navigation; false for right navigation.

Returns

bool

True if the navigation was processed; otherwise, false.

ProcessMnemonic(Keys)

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

Declaration

cs-api-definition
protected virtual bool ProcessMnemonic(Keys keyData)

Parameters

keyData

Keys

The key data to process as a mnemonic.

Returns

bool

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

ProcessUpDownNavigationKey(bool)

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

Declaration

cs-api-definition
protected virtual bool ProcessUpDownNavigationKey(bool isUp)

Parameters

isUp

bool

True for up navigation; false for down navigation.

Returns

bool

True if the navigation was processed; otherwise, false.

SetVisibleCore(bool)

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

Declaration

cs-api-definition
protected override void SetVisibleCore(bool value)

Parameters

value

bool

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

Overrides Control.SetVisibleCore(bool)

Show()

Displays the RadDropDownMenu in its default position.

Declaration

cs-api-definition
public void Show()

Show(Control, Point)

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

Declaration

cs-api-definition
public void Show(Control control, Point point)

Parameters

control

Control

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

point

Point

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

Show(Control, Point, RadDirection)

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

Declaration

cs-api-definition
public void Show(Control control, Point point, RadDirection popupDirection)

Parameters

control

Control

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

point

Point

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

popupDirection

RadDirection

The direction in which the menu should open.

Show(Control, int, int)

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

Declaration

cs-api-definition
public void Show(Control control, int x, int y)

Parameters

control

Control

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

x

int

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

y

int

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

Show(Point)

Displays the RadDropDownMenu at the specified screen location.

Declaration

cs-api-definition
public void Show(Point point)

Parameters

point

Point

The screen coordinates where the menu should be displayed.

Show(Point, RadDirection)

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

Declaration

cs-api-definition
public void Show(Point point, RadDirection popupDirection)

Parameters

point

Point

The screen coordinates where the menu should be displayed.

popupDirection

RadDirection

The direction in which the menu should open.

Show(RadItem, Point)

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

Declaration

cs-api-definition
public void Show(RadItem item, Point point)

Parameters

item

RadItem

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

point

Point

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

Show(RadItem, Point, RadDirection)

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

Declaration

cs-api-definition
public void Show(RadItem item, Point point, RadDirection popupDirection)

Parameters

item

RadItem

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

point

Point

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

popupDirection

RadDirection

The direction in which the menu should open.

Show(RadItem, int, RadDirection)

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

Declaration

cs-api-definition
public void Show(RadItem item, int ownerOffset, RadDirection popupDirection)

Parameters

item

RadItem

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

ownerOffset

int

The offset from the owner element, in pixels.

popupDirection

RadDirection

The direction in which the menu should open.

Show(RadItem, int, int)

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

Declaration

cs-api-definition
public void Show(RadItem item, int x, int y)

Parameters

item

RadItem

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

x

int

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

y

int

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

Show(int, int)

Displays the RadDropDownMenu at the specified screen coordinates.

Declaration

cs-api-definition
public void Show(int x, int y)

Parameters

x

int

The horizontal screen coordinate, in pixels.

y

int

The vertical screen coordinate, in pixels.

ShowCore(Point, int, RadDirection)

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.

Declaration

cs-api-definition
protected virtual void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)

Parameters

point

Point

The screen coordinates where the menu should be displayed.

ownerOffset

int

The offset from the owner element, in pixels.

popupDirection

RadDirection

The direction in which the menu should open.

In this article
DefinitionConstructorsRadDropDownMenu()RadDropDownMenu(RadElement)PropertiesCausesValidationClickedItemHeaderImageHeaderTextIsTwoColumnMenuPopupElementRootTreeHandlerThemeClassNameMethodsCanClosePopup(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)OnItemSelected(ItemSelectedEventArgs)OnItemsChanged(RadItemCollection, RadItem, ItemsChangeOperation)OnKeyDown(Keys)OnLoad(Size)OnMouseClick(MouseEventArgs)OnMouseDown(MouseEventArgs)OnMouseMove(MouseEventArgs)OnMouseWheel(Control, int)OnScreenTipNeeded(object, ScreenTipNeededEventArgs)OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)PerformItemClick(RadMenuItemBase)PerformMenuItemClick(RadMenuItemBase)ProcessDialogChar(char)ProcessLeftRightNavigationKey(bool)ProcessMnemonic(Keys)ProcessUpDownNavigationKey(bool)SetVisibleCore(bool)Show()Show(Control, Point)Show(Control, Point, RadDirection)Show(Control, int, int)Show(Point)Show(Point, RadDirection)Show(RadItem, Point)Show(RadItem, Point, RadDirection)Show(RadItem, int, RadDirection)Show(RadItem, int, int)Show(int, int)ShowCore(Point, int, RadDirection)
Not finding the help you need?
Contact Support