Class BasePrimitive
Represents a base type for all primitives. Defines PaintPrimitive method that is overridden in all derived classes.
Primitives are these RadElement(s) that are actually drawn on the screen.
Inherited Members
Namespace: Telerik.WinControls.Primitives
Assembly: Telerik.WinControls.dll
Syntax
public class BasePrimitive : VisualElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive
Constructors
BasePrimitive()
Declaration
public BasePrimitive()
Fields
BoxCategory
Declaration
public const string BoxCategory = "Box"
Field Value
System.String
|
Properties
IsEmpty
Gets a value indicating whether the primitive has content.
Declaration
public virtual bool IsEmpty { get; }
Property Value
System.Boolean
|
Methods
InitializeFields()
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
PaintPrimitive(IGraphics, Single, SizeF)
Virtual function that draws the primitive on the screen.
Declaration
public virtual void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|