Class ProgressBarPrimitive
Represents the internal part of the progress bar.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Primitives
Assembly: Telerik.WinControls.dll
Syntax
public class ProgressBarPrimitive : FillPrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IFillElement, IPrimitiveElement, IShapedElement
Constructors
ProgressBarPrimitive()
Declaration
public ProgressBarPrimitive()
Fields
DashProperty
HatchProperty
MaximumProperty
MinimumProperty
ProgressOrientationProperty
SeparatorColorProperty1
SeparatorColorProperty2
SeparatorWidthProperty
StepProperty
StepWidthProperty
SweepAngleProperty
ValueProperty1
ValueProperty2
Properties
Dash
Indicates whether the progress bar style is dash. If both dash and hash are true, hatch style is chosen.
Declaration
public virtual bool Dash { get; set; }
Property Value
System.Boolean
|
HasImage
indicates that Progress Bar has Image
Declaration
public bool HasImage { get; set; }
Property Value
System.Boolean
|
Hatch
Indicates whether the progress bar style is hatch. When true, the style is Hatch. When both dash and hatch are true the style is hatch.
Declaration
public virtual bool Hatch { get; set; }
Property Value
System.Boolean
|
Maximum
Gets or sets maximum value for the progress.
Declaration
public virtual int Maximum { get; set; }
Property Value
System.Int32
|
Minimum
Specifies minimum value for the progress.
Declaration
public virtual int Minimum { get; set; }
Property Value
System.Int32
|
Orientation
Gets or sets progress bar orientation. Possible values are indicates in ProgressOrientaion enumeration: up, left, bottom, and right.
Declaration
public virtual ProgressOrientation Orientation { get; set; }
Property Value
ProgressOrientation
|
SeparatorColor1
Gets or sets the first color that is used in gradient effect.
Declaration
public virtual Color SeparatorColor1 { get; set; }
Property Value
System.Drawing.Color
|
SeparatorColor2
Gets or sets the second color that is used in gradient effect.
Declaration
public virtual Color SeparatorColor2 { get; set; }
Property Value
System.Drawing.Color
|
SeparatorWidth
Gets or sets separators width in pixels.
Declaration
public virtual int SeparatorWidth { get; set; }
Property Value
System.Int32
|
Step
indicates Stap value
Declaration
public virtual int Step { get; set; }
Property Value
System.Int32
|
StepWidth
Gets or sets the step width in pixels between separators.
Declaration
public virtual int StepWidth { get; set; }
Property Value
System.Int32
|
SweepAngle
Gets or sets the angle in degrees of the progress bar dash or hatch parts.
Declaration
public virtual int SweepAngle { get; set; }
Property Value
System.Int32
|
Value1
Gets or sets the value of the first progress line. There could be two progress lines in the progress bar.
Declaration
public virtual int Value1 { get; set; }
Property Value
System.Int32
|
Value2
Gets or sets the value of the second progress line. There could be two progress lines in the progress bar.
Declaration
public virtual int Value2 { get; set; }
Property Value
System.Int32
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
GetProgressRectangle()
Declaration
public Rectangle GetProgressRectangle()
Returns
System.Drawing.Rectangle
|
PaintPrimitive(IGraphics, Single, SizeF)
Draws the primitive on the screen.
Declaration
public override void PaintPrimitive(IGraphics g, float angle, SizeF scale)
Parameters
IGraphics
g
|
System.Single
angle
|
System.Drawing.SizeF
scale
|