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; }
[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 RadElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF finalSize)
The size that is available for element.
Returns:The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides:
In this method call to the Arrange method of each child must be made.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
public override VisualStyleElement GetVistaVisualStyle()
The visual style element for Windows Vista.
Overrides:
Gets the Visual Style Element instance that describes the skin appearance for the element when the current OS is Windows XP.
public override VisualStyleElement GetXPVisualStyle()
The visual style element for Windows XP.
Overrides:
Initializes the internal state fields for the button item, setting default values for shared image and capture behavior.
protected override void InitializeFields()
Overrides:
Performs initialization when the element is first-time painted using system skin.
protected override void InitializeSystemSkinPaint()
Overrides:
Provides a routine to paint element's content when system skin appearance is desired.
protected override void PaintElementSkin(IGraphics graphics)
Overrides:
Performs cleanup when system skin painting is no longer used.
protected override void UnitializeSystemSkinPaint()
Overrides: