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
Creates the application-menu popup with fade-out animation, a drop shadow, and smooth horizontal alignment correction.
public RadApplicationMenuDropDown(RadApplicationMenuButtonElement ownerElement)
The application-menu button element that owns this popup.
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 the default fully qualified theme-class name; setting it delegates to the base popup property.
public override string ThemeClassName { get; set; }
Overrides:
Methods
Applies design-time hit testing around the owning application menu and ribbon button before using the base close policy.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason the popup is being considered for closure.
Returns:false when design-time hit testing keeps the popup open, true for other points inside the owning ribbon bar, or the base result otherwise.
Overrides:
Creates the item collections used by the main menu, right column, and bottom button strip.
protected override void Construct()
Overrides:
Leaves exact RadMenuButtonItem instances to their own theme class and delegates other elements to the base popup.
public override bool ControlDefinesThemeForElement(RadElement element)
Overrides:
Creates the composite application-menu element and assigns each item collection to its corresponding layout region.
protected override RadElement CreatePopupElement()
The popup element containing the main menu, right column, and bottom button strip.
Overrides:
When disposing managed resources, unsubscribes from item-collection change notifications before calling the base implementation.
Consumes mouse-wheel input when the popup element exists, scrolling the main menu one line if its vertical scrollbar is visible.
public override bool OnMouseWheel(Control target, int delta)
The control associated with the mouse-wheel input.
deltaintThe wheel delta; positive values scroll up and non-positive values scroll down.
Returns:false if the popup element is unavailable; otherwise, true because the input is handled.
Overrides:
Applies the root element's shape to the popup or creates the default rounded region after a size change.
Outside design mode, refreshes the right-column layout, sets the popup's minimum size from that content, and marks it as right-side popup content before display.
protected override void ShowCore(Point point, int ownerOffset, RadDirection popupDirection)
Overrides: