Class RadCommandBarOverflowButton
Represent the overflow button at the end of each strip
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCommandBarOverflowButton : RadCommandBarVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadCommandBarOverflowButton(CommandBarStripElement)
Declaration
public RadCommandBarOverflowButton(CommandBarStripElement owner)
Parameters
CommandBarStripElement
owner
|
Fields
dropDownMenuElement
HasOverflowedItemsProperty
owner
panel
Declaration
protected RadCommandBarOverflowPanelElement panel
Field Value
RadCommandBarOverflowPanelElement
|
Properties
AddRemoveButtonsMenuItem
Gets the "Add or Remove Items" menu item from overflow menu
Declaration
public RadMenuItem AddRemoveButtonsMenuItem { get; }
Property Value
RadMenuItem
|
ArrowPrimitive
Gets or sets the ArrowPrimitive element of the button.
Declaration
public ArrowPrimitive ArrowPrimitive { get; set; }
Property Value
ArrowPrimitive
|
CustomizeButtonMenuItem
Gets the menu item from overflow menu which opens the Customize Dialog
Declaration
public RadMenuItem CustomizeButtonMenuItem { get; }
Property Value
RadMenuItem
|
DialogProvider
Declaration
public CommandBarCustomizeDialogProvider DialogProvider { get; set; }
Property Value
CommandBarCustomizeDialogProvider
|
DropDownMenu
Gets the RadDropDownMenu that is shown on click.
Declaration
public RadDropDownMenu DropDownMenu { get; }
Property Value
RadDropDownMenu
|
HasOverflowedItems
Gets whether there are items in the overflow panel.
Declaration
public bool HasOverflowedItems { get; }
Property Value
System.Boolean
|
HostControlThemeName
Gets or sets the dropdown menu element theme name.
Declaration
public string HostControlThemeName { get; set; }
Property Value
System.String
|
ItemsLayout
Gets or sets the panel in which overflowed items are arranged.
Declaration
public LayoutPanel ItemsLayout { get; }
Property Value
LayoutPanel
|
Orientation
Gets or sets the orientation of the overflow button.
Declaration
public override Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
Overrides
OverflowPanel
Gets the overflow panel which contains the overflowed items
Declaration
public RadCommandBarOverflowPanelElement OverflowPanel { get; }
Property Value
RadCommandBarOverflowPanelElement
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
customizeButton_Click(Object, EventArgs)
Declaration
protected void customizeButton_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnLoaded()
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnOverflowMenuClosed(Object, RadPopupClosedEventArgs)
Raises the RadCommandBarOverflowButton.OverflowMenuClosed event.
Declaration
protected void OnOverflowMenuClosed(object sender, RadPopupClosedEventArgs args)
Parameters
System.Object
sender
The element that is reponsible for firing the event. |
RadPopupClosedEventArgs
args
A RadPopupClosedEventArgs that contains the event data. |
OnOverflowMenuClosing(Object, RadPopupClosingEventArgs)
Raises the RadCommandBarOverflowButton.OverflowMenuClosing event.
Declaration
protected virtual void OnOverflowMenuClosing(object sender, RadPopupClosingEventArgs args)
Parameters
System.Object
sender
The element that is reponsible for firing the event. |
RadPopupClosingEventArgs
args
A RadPopupClosingEventArgs that contains the event data. |
OnOverflowMenuOpened(EventArgs)
Raises the RadCommandBarOverflowButton.OverflowMenuOpened event.
Declaration
protected void OnOverflowMenuOpened(EventArgs e)
Parameters
System.EventArgs
e
A System.EventArgs that contains the event data. |
OnOverflowMenuOpening(CancelEventArgs)
Raises the RadCommandBarOverflowButton.OverflowMenuOpening event.
Declaration
protected bool OnOverflowMenuOpening(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
A System.ComponentModel.CancelEventArgs that contains the event data. |
Returns
System.Boolean
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnTunnelEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnTunnelEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
OnUnloaded(ComponentThemableElementTree)
Declaration
protected override void OnUnloaded(ComponentThemableElementTree oldTree)
Parameters
ComponentThemableElementTree
oldTree
|
Overrides
PopulateDropDownMenu()
Declaration
public void PopulateDropDownMenu()
Events
OverflowMenuClosed
This event fires when overflow menu is opened.
Declaration
public event EventHandler OverflowMenuClosed
Event Type
System.EventHandler
|
OverflowMenuClosing
This event fires before oferflow menu is opened.
Declaration
public event CancelEventHandler OverflowMenuClosing
Event Type
System.ComponentModel.CancelEventHandler
|
OverflowMenuOpened
This event fires when overflow menu is opened.
Declaration
public event EventHandler OverflowMenuOpened
Event Type
System.EventHandler
|
OverflowMenuOpening
This event fires before oferflow menu is opened.
Declaration
public event CancelEventHandler OverflowMenuOpening
Event Type
System.ComponentModel.CancelEventHandler
|