ClassRadCommandBarArrowButton
Represents an arrow button element. Each telerik control has a corresponding tree of RadElements; the RadArrowButtonElement can be nested in other telerik controls.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(false)]
public class RadCommandBarArrowButton : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadCommandBarArrowButton
Implements:
Inherited Members
Constructors
RadCommandBarArrowButton()
Declaration
public RadCommandBarArrowButton()
Properties
Arrow
Gets the ArrowPrimitive object.
DefaultArrowSize
Gets the default size of arrow.
Declaration
protected virtual SizeF DefaultArrowSize { get; }
Property Value
Direction
Gets or sets the arrow direction. The possible values are contained in the ArrowDirection enumeration: up, left, right, and bottom.
Declaration
public ArrowDirection Direction { get; set; }
Property Value
ThemeEffectiveType
Gets the type of the theme effective.
Declaration
protected override Type ThemeEffectiveType { get; }
Property Value
The type of the theme effective.
Overrides
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
GetVistaVisualStyle()
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
Declaration
public override VisualStyleElement GetVistaVisualStyle()
Returns
The visual style element for Windows Vista.
Overrides
GetXPVisualStyle()
Gets the Visual Style Element instance that describes the skin appearance for the element when the current OS is Windows XP.
Declaration
public override VisualStyleElement GetXPVisualStyle()
Returns
The visual style element for Windows XP.
Overrides
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
InitializeSystemSkinPaint()
Performs initialization when the element is first-time painted using system skin.
Declaration
protected override void InitializeSystemSkinPaint()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
PaintElementSkin(IGraphics)
Provides a routine to paint element's content when system skin appearance is desired.
Declaration
protected override void PaintElementSkin(IGraphics graphics)
Parameters
graphics
Overrides
UnitializeSystemSkinPaint()
Performs cleanup when system skin painting is no longer used.
Declaration
protected override void UnitializeSystemSkinPaint()
Overrides