ClassCommandBarDropDownButton
Represents a drop down button in CommandBarStripElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CommandBarDropDownButton : RadCommandBarBaseItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IItemsOwner
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarVisualElementRadCommandBarBaseItemCommandBarDropDownButton
Derived Classes:
Implements:
Inherited Members
Constructors
CommandBarDropDownButton()
Declaration
public CommandBarDropDownButton()
Fields
arrowButton
Declaration
protected RadCommandBarArrowButton arrowButton
Field Value
Properties
ArrowPart
Gets the arrow part of the button.
Declaration
public RadCommandBarArrowButton ArrowPart { get; }
Property Value
DropDownMenu
Gets or sets the drop down menu, opened on click.
Declaration
[Browsable(false)]
public RadDropDownMenu DropDownMenu { get; set; }
Property Value
Items
Gets menu items collection
Declaration
[RadEditItemsAction]
[Browsable(true)]
public RadItemOwnerCollection Items { get; }
Property Value
Implements
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
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
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
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
ProcessMnemonic(char)
This method is not relevant for this class.
ShowDropdown()
Declaration
public virtual void ShowDropdown()
UnwireDropDownEvents()
Declaration
protected virtual void UnwireDropDownEvents()
WireDropDownEvents()
Declaration
protected virtual void WireDropDownEvents()