Class ArrowPrimitive
Represents an arrow that is drawn on the screen.
Extends %BasePrimitive:Telerik.WinControls.Primitives.BasePrimitive%.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Primitives
Assembly: Telerik.WinControls.dll
Syntax
public class ArrowPrimitive : BasePrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive
Constructors
ArrowPrimitive()
Declaration
public ArrowPrimitive()
ArrowPrimitive(ArrowDirection)
Initializes a new instance of the ArrowPrimitive class using the ArrowDirection enumeration. Possible directions are up, bottom, left, and right.
Declaration
public ArrowPrimitive(ArrowDirection arrowDirection)
Parameters
Arrow
|
Fields
DirectionProperty
MinHorizontalSize
Declaration
public static readonly Size MinHorizontalSize
Field Value
System.
|
MinVerticalSize
Declaration
public static readonly Size MinVerticalSize
Field Value
System.
|
UseSmoothPaintProperty
Properties
Direction
Gets or sets the arrow direction. The possible values are contained in the ArrowDirection enumeration: up, left, right, and bottom.
Declaration
[RadPropertyDefaultValue("Direction", typeof(ArrowPrimitive))]
public ArrowDirection Direction { get; set; }
Property Value
StretchHorizontally
Declaration
public override bool StretchHorizontally { get; set; }
Property Value
System.
|
Overrides
StretchVertically
Declaration
public override bool StretchVertically { get; set; }
Property Value
System.
|
Overrides
UseSmoothPaint
Determines whether to paint the arrow using anti-aliasing. Default value is false.
Declaration
[RadPropertyDefaultValue("UseSmoothPaint", typeof(ArrowPrimitive))]
public bool UseSmoothPaint { get; set; }
Property Value
System.
|
Methods
InitializeFields()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
PaintPrimitive(IGraphics, Single, SizeF)
Draws the primitive on the screen.
Declaration
public override void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|