Provides a resizable popup menu with item selection, keyboard navigation, and delayed child-menu opening.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadSizableDropDownMenu : RadEditorPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadSizablePopupControlRadEditorPopupControlBaseRadSizableDropDownMenu...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a resizable drop-down menu without an owner item.
public RadSizableDropDownMenu()
Properties
Gets the collection used for item selection and navigation; it is the same collection as Items.
public RadItemOwnerCollection ActiveItems { get; }
Implements:
Gets the menu items displayed by this popup.
public RadItemOwnerCollection Items { get; }
Implements:
Gets the visual element that owns this popup's item collection and sizeable layout.
public SizableDropDownMenuElement MenuElement { get; }
Gets or sets whether the shared item-selection implementation is marked to process keyboard input.
public bool ProcessKeyboard { get; set; }
Implements:
Gets or sets whether selection wraps between the last and first selectable items; enabled by default.
public bool RollOverItemSelection { get; set; }
Implements:
Methods
Disposes the child-popup timer when managed resources are being released.
Gets the next visible and selectable item relative to item.
Selection wraps at either end because rollover is enabled by default.
Clears the deselected item's selected state and raises ItemDeselected.
protected virtual void OnItemDeselected(ItemSelectedEventArgs args, object sender)
The deselection event data.
senderobjectThe item-selection manager that raised the notification.
Marks the selected menu item, notifies accessibility clients when appropriate, and raises ItemSelected.
protected virtual void OnItemSelected(ItemSelectedEventArgs args, object sender)
The selection event data.
senderobjectThe item-selection manager that raised the notification.
Handles arrow-key navigation, Enter activation, and mnemonics before forwarding other applicable keys to the base popup.
Stops a pending delayed child-popup opening before processing the mouse press.
Updates item selection under the pointer and schedules a child popup to open after the system menu-show delay (or after 40 milliseconds when that delay is zero).
Ensures the popup is at least as wide as its item layout before painting.
Opens an item's child popup and selects its first visible item before performing the item's click.
protected void PerformItemClick(RadMenuItemBase menuItem)
The menu item to activate.
Opens the selected item's child popup for a right key, or closes this popup for a left key when the selected item is nested or this popup has an owner popup.
Activates a unique enabled, visible item matching the key mnemonic, or cycles focus among multiple matches.
Selects the next visible and selectable item relative to item.
Events
Occurs when the popup deselects a menu item.
public event ItemSelectedEventHandler ItemDeselected
Implements:
Occurs when the popup selects a menu item.
public event ItemSelectedEventHandler ItemSelected
Implements: