ArrowPrimitive
Represents a primitive element that renders directional arrows.
Definition
Namespace:Telerik.WinControls.Primitives
Assembly:Telerik.WinControls.dll
Syntax:
public class ArrowPrimitive : BasePrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveArrowPrimitive...
Implements:
Inherited Members
Constructors
public ArrowPrimitive()
Initializes a new instance of the ArrowPrimitive class using the ArrowDirection enumeration. Possible directions are up, bottom, left, and right.
Fields
public static readonly RadProperty DirectionProperty
public static readonly Size MinHorizontalSize
public static readonly Size MinVerticalSize
public static readonly RadProperty UseSmoothPaintProperty
Properties
Gets or sets the arrow direction. The possible values are contained in the ArrowDirection enumeration: up, left, right, and bottom.
public ArrowDirection Direction { get; set; }
public override bool StretchHorizontally { get; set; }
Overrides:
public override bool StretchVertically { get; set; }
Overrides:
Determines whether to paint the arrow using anti-aliasing. Default value is false.
public bool UseSmoothPaint { get; set; }
Methods
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Called when a property value has changed, allowing for custom response to property changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property changed event arguments.
Overrides: