ClassRadCommandBarOverflowButton
Represent the overflow button at the end of each strip
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class RadCommandBarOverflowButton : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarVisualElementRadCommandBarOverflowButton
Implements:
Inherited Members
Constructors
RadCommandBarOverflowButton(CommandBarStripElement)
Declaration
public RadCommandBarOverflowButton(CommandBarStripElement owner)
Parameters
owner
Fields
HasOverflowedItemsProperty
Declaration
public static RadProperty HasOverflowedItemsProperty
Field Value
dropDownMenuElement
Declaration
protected RadDropDownMenu dropDownMenuElement
Field Value
owner
Declaration
protected CommandBarStripElement owner
Field Value
panel
Declaration
protected RadCommandBarOverflowPanelElement panel
Field Value
Properties
AddRemoveButtonsMenuItem
Gets the "Add or Remove Items" menu item from overflow menu
Declaration
public RadMenuItem AddRemoveButtonsMenuItem { get; }
Property Value
ArrowPrimitive
Gets or sets the ArrowPrimitive element of the button.
Declaration
[Browsable(false)]
public ArrowPrimitive ArrowPrimitive { get; set; }
Property Value
CustomizeButtonMenuItem
Gets the menu item from overflow menu which opens the Customize Dialog
Declaration
public RadMenuItem CustomizeButtonMenuItem { get; }
Property Value
DialogProvider
Declaration
[Browsable(false)]
public CommandBarCustomizeDialogProvider DialogProvider { get; set; }
Property Value
DropDownMenu
Gets the RadDropDownMenu that is shown on click.
Declaration
public RadDropDownMenu DropDownMenu { get; }
Property Value
HasOverflowedItems
Gets whether there are items in the overflow panel.
HostControlThemeName
Gets or sets the dropdown menu element theme name.
Declaration
[Browsable(false)]
public string HostControlThemeName { get; set; }
Property Value
ItemsLayout
Gets or sets the panel in which overflowed items are arranged.
Orientation
Gets or sets the orientation of the overflow button.
Declaration
public override Orientation Orientation { get; set; }
Property Value
Overrides
OverflowPanel
Gets the overflow panel which contains the overflowed items
Declaration
public RadCommandBarOverflowPanelElement OverflowPanel { get; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnLoaded()
Called when the element has been successfully loaded. That includes loading of all its children as well.
Declaration
protected override void OnLoaded()
Overrides
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnOverflowMenuClosed(object, RadPopupClosedEventArgs)
Raises the event.
Declaration
protected void OnOverflowMenuClosed(object sender, RadPopupClosedEventArgs args)
Parameters
sender
The element that is reponsible for firing the event.
args
A RadPopupClosedEventArgs that contains the event data.
OnOverflowMenuClosing(object, RadPopupClosingEventArgs)
Raises the event.
Declaration
protected virtual void OnOverflowMenuClosing(object sender, RadPopupClosingEventArgs args)
Parameters
sender
The element that is reponsible for firing the event.
args
A RadPopupClosingEventArgs that contains the event data.
OnOverflowMenuOpened(EventArgs)
Raises the event.
OnOverflowMenuOpening(CancelEventArgs)
Raises the event.
Declaration
protected bool OnOverflowMenuOpening(CancelEventArgs e)
Parameters
e
A CancelEventArgs that contains the event data.
Returns
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
OnTunnelEvent(RadElement, RoutedEventArgs)
Called when the tunnel phase of a routed event occurs.
Declaration
protected override void OnTunnelEvent(RadElement sender, RoutedEventArgs args)
Parameters
sender
The element that originally raised the event.
args
The routed event arguments.
Overrides
OnUnloaded(ComponentThemableElementTree)
Notifies that the element has been successfully unloaded from an element tree. Allows inheritors to provide custom logic at this stage.
Declaration
protected override void OnUnloaded(ComponentThemableElementTree oldTree)
Parameters
oldTree
Reference to the element tree from which the element has been unloaded.
Overrides
PopulateDropDownMenu()
Declaration
public void PopulateDropDownMenu()
Events
OverflowMenuClosed
This event fires when overflow menu is opened.
OverflowMenuClosing
This event fires before oferflow menu is opened.
Declaration
public event CancelEventHandler OverflowMenuClosing
Event Value
OverflowMenuOpened
This event fires when overflow menu is opened.
OverflowMenuOpening
This event fires before oferflow menu is opened.
Declaration
public event CancelEventHandler OverflowMenuOpening
Event Value