ClassRadArrowButtonElement
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
RadArrowButtonElement()
Declaration
public RadArrowButtonElement()
Properties
Arrow
Gets the ArrowPrimitive object.
ArrowFullSize
Declaration
[Browsable(false)]
public Size ArrowFullSize { get; }
Property Value
Border
Gets the BorderPrimitive object.
Direction
Gets or sets the %arrow direction:Telerik.WinControls.Primitives.ArrowPrimitive.ArrowDirection%.
Declaration
public ArrowDirection Direction { get; set; }
Property Value
Fill
Gets the FillPrimitive object.
ImagePrimitive
Gets the ImagePrimitive object.
Declaration
public ImagePrimitive ImagePrimitive { get; }
Property Value
OverflowMode
If set to true shows and OverflowPrimitive instead of an ArrowPrimitive.
RadArrowButtonDefaultSize
Gets the default size of the RadArrowButtonElement
Declaration
public static Size RadArrowButtonDefaultSize { get; }
Property Value
TextPrimitive
Gets the TextPrimitive object.
Declaration
public TextPrimitive TextPrimitive { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
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
Remarks
In this method call to the Arrange method of each child must be made.
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 state fields for the button item, setting default values for shared image and capture behavior.
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
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