Represents an application drop down menu in Office 2007 style.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[DefaultBindingProperty("Items")]
[RadToolboxItem(false)]
public class RadApplicationMenuDropDown : RadDropDownButtonPopup, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl, IItemsControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRadItemsPopupControlRadDropDownMenuRadDropDownButtonPopupRadApplicationMenuDropDown...
Implements:
Inherited Members
Constructors
public RadApplicationMenuDropDown(RadApplicationMenuButtonElement ownerElement)
Properties
Gets a collection representing the button items of RadApplicationMenu.
[Browsable(true)]
public virtual RadItemOwnerCollection ButtonItems { get; }
Gets a collection representing the right column items of RadApplicationMenu.
[Browsable(true)]
public virtual RadItemOwnerCollection RightColumnItems { get; }
Gets or sets the right column width
public int RightColumnWidth { get; set; }
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.
public override string ThemeClassName { get; set; }
Overrides:
Methods
Determines whether the popup can be closed for the specified reason, considering owner element state and mouse interaction.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason for closing the popup.
Returns:True if the popup can be closed; otherwise, false.
Overrides:
protected override void Construct()
Overrides:
Determines whether this control defines the theme for the specified element, considering owner inheritance and element type.
public override bool ControlDefinesThemeForElement(RadElement element)
The element to evaluate for theme definition.
Returns:True if this control defines the theme for the element; otherwise, false.
Overrides:
Creates the popup element that will contain the menu items for the drop-down menu.
protected override RadElement CreatePopupElement()
A new RadDropDownMenuElement configured as the popup container.
Overrides:
Releases the unmanaged resources used by the RadDropDownMenu and optionally releases the managed resources.
protected override void Dispose(bool disposing)
True to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Handles mouse wheel events to scroll the menu content when the vertical scrollbar is visible.
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.
protected override void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)
The screen coordinates where the menu should be displayed.
ownerOffsetintThe offset from the owner element, in pixels.
popupDirectionRadDirectionThe direction in which the menu should open.
Overrides: