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 RadArrowButtonElement : RadButtonItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IButtonControl, IImageElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadButtonItemRadArrowButtonElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadArrowButtonElement()
Properties
Gets or sets the mouse buttons that trigger the click event of this element. Default value is Left
public MouseButtons AllowedClickButtons { get; set; }
Gets the ArrowPrimitive object.
public ArrowPrimitive Arrow { get; }
Gets the combined size of the arrow glyph plus its surrounding border.
[Browsable(false)]
public Size ArrowFullSize { get; }
Gets the BorderPrimitive object.
public BorderPrimitive Border { get; }
Gets or sets the %arrow direction:Telerik.WinControls.Primitives.ArrowPrimitive.ArrowDirection%.
public ArrowDirection Direction { get; set; }
Gets the FillPrimitive object.
public FillPrimitive Fill { get; }
Gets the ImagePrimitive object.
public ImagePrimitive ImagePrimitive { get; }
If set to true shows and OverflowPrimitive instead of an ArrowPrimitive.
public bool OverflowMode { get; set; }
Gets the default size of the RadArrowButtonElement
public static Size RadArrowButtonDefaultSize { get; }
Gets the TextPrimitive object.
public TextPrimitive TextPrimitive { get; }
Methods
Arranges the arrow and overflow arrow primitives centered within the final size allotted to the element.
Creates the child primitives that compose the arrow button visual, including the fill, border, arrow, overflow arrow, image, and text primitives.
protected override void CreateChildElements()
Overrides:
Gets the visual style element used to render this arrow button under the Vista/Aero system skin.
public override VisualStyleElement GetVistaVisualStyle()
The VisualStyleElement matching the current state, delegating to GetXPVisualStyle().
Overrides:
Gets the visual style element used to render this arrow button under the Windows XP system skin, based on the current enabled/mouse state.
public override VisualStyleElement GetXPVisualStyle()
The VisualStyleElement matching the current enabled, hover, and pressed state.
Overrides:
Initializes the default field values of the element, enabling mouse input notification to the parent and restricting clicks to the left mouse button.
protected override void InitializeFields()
Overrides:
Hides the fill, border, and arrow primitives so that the native visual style can be painted instead.
protected override void InitializeSystemSkinPaint()
Overrides:
Raises the Click event, ignoring mouse clicks whose button is not included in AllowedClickButtons.
Provides a routine to paint element's content when system skin appearance is desired.
protected override void PaintElementSkin(IGraphics graphics)
Overrides:
Restores the visibility of the fill, border, and arrow primitives after system skin painting ends.
protected override void UnitializeSystemSkinPaint()
Overrides: