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
ArrowDirection
arrowDirection
|
Fields
DirectionProperty
MinHorizontalSize
Declaration
public static readonly Size MinHorizontalSize
Field Value
System.Drawing.Size
|
MinVerticalSize
Declaration
public static readonly Size MinVerticalSize
Field Value
System.Drawing.Size
|
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
ArrowDirection
|
StretchHorizontally
Declaration
public override bool StretchHorizontally { get; set; }
Property Value
System.Boolean
|
Overrides
StretchVertically
Declaration
public override bool StretchVertically { get; set; }
Property Value
System.Boolean
|
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.Boolean
|
Methods
InitializeFields()
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
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.Single
angle
|
System.Drawing.SizeF
scale
|