ClassTrackBarPrimitive
Represents a primitive element that renders track bar controls with slider functionality and tick mark support.
Definition
Namespace:Telerik.WinControls.Primitives
Assembly:Telerik.WinControls.dll
Syntax:
public class TrackBarPrimitive : FillPrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IFillElement, IPrimitiveElement, IShapedElement
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveFillPrimitiveTrackBarPrimitive
Implements:
Inherited Members
Constructors
TrackBarPrimitive()
Declaration
public TrackBarPrimitive()
Fields
FitToAvailableSizeProperty
Declaration
public static RadProperty FitToAvailableSizeProperty
Field Value
ShowSlideAreaProperty
Declaration
public static RadProperty ShowSlideAreaProperty
Field Value
SlideAreaWidthProperty
Declaration
public static RadProperty SlideAreaWidthProperty
Field Value
SliderAreaGradientAngleProperty
Declaration
public static RadProperty SliderAreaGradientAngleProperty
Field Value
TickFrequencyProperty
Declaration
public static RadProperty TickFrequencyProperty
Field Value
TrackBarOrientationProperty
Declaration
public static RadProperty TrackBarOrientationProperty
Field Value
Properties
BackColor5
Gets or sets background color. This property is applicable to radial, glass, office glass, and vista gradients.
Declaration
[TypeConverter(typeof(RadColorEditorConverter))]
public virtual Color BackColor5 { get; set; }
Property Value
BackColor6
Gets or sets background color. This property is applicable to radial, glass, office glass, and vista gradients.
Declaration
[TypeConverter(typeof(RadColorEditorConverter))]
public virtual Color BackColor6 { get; set; }
Property Value
FitToAvailableSize
Gets or Sets whether the TrackBar should fit to available size
Declaration
public virtual bool FitToAvailableSize { get; set; }
Property Value
Maximum
Gets or sets a maximum int value for the trackbar position.
Minimum
Gets or sets a minimum int value for the trackbar position.
ShowSlideArea
Gets or Sets whether the SlideArea should be visible
ShowTicks
Gets or Sets Ticks Visibility
SlideAreaWidth
Gets or Sets the width of TrackBar's SlideArea
SliderAreaGradientAngle
Gets or Sets the gradient angle of the SliderArea
Declaration
public virtual float SliderAreaGradientAngle { get; set; }
Property Value
ThumbWidth
Gets or Sets TrackBar's thumbWidth
TickColor
Gets or Sets RadTrackBar's ticks color
TickFrequency
The number of positions between tick marks
TickStyle
Indicates the tick style of the progress bar. Possible values are members of TickStyles: None, TopLeft, BottomRight and Both.
Declaration
public virtual TickStyles TickStyle { get; set; }
Property Value
TrackBarOrientation
Gets or Sets TrackBar's Orientation
Declaration
public virtual Orientation TrackBarOrientation { get; set; }
Property Value
Methods
PaintElement(IGraphics, float, SizeF)
Paints the element's background and calls the base implementation to paint child elements.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics object used for painting.
angle
The rotation angle to apply during painting.
scale
The scale factor to apply during painting.
Overrides