Class RadTrackBarElement
Represents a trackbar element. RadTrackBarElement can be nested in other telerik controls. Essentially, the RadTrackBar is a simple wrapper for the RadTrackBarElement. The former transfers events to and from its corresponding RadTrackBarElement instance.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTrackBarElement : StackLayoutElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTrackBarElement()
Declaration
public RadTrackBarElement()
Fields
IsVerticalProperty
RangeValueChanged
Fires when a range is changed.
Declaration
public RangeChangedEventHandler RangeValueChanged
Field Value
Properties
AllowKeyNavigation
AutoSize
Declaration
public override bool AutoSize { get; set; }
Property Value
System.
|
Overrides
BodyElement
Gets the instance of TrackBarBodyElement. TrackBarBodyElement is the core element in the hierarchy tree and encapsulates the Scale and indicators functionality.
Declaration
public TrackBarBodyElement BodyElement { get; }
Property Value
CurrentThumb
Gets or Sets the selected thumb
Declaration
public TrackBarThumbElement CurrentThumb { get; set; }
Property Value
IsVertical
Gets or Sets TrackBar's Orientation
Declaration
public bool IsVertical { get; set; }
Property Value
System.
|
LabelStyle
Gets or Sets whether the TrackBar's labels should be drawn
Declaration
public TrackBarLabelStyle LabelStyle { get; set; }
Property Value
LargeChange
Gets or Sets the number of positions that the trackbar moves in response to mouse clicks.
Declaration
public int LargeChange { get; set; }
Property Value
System.
|
LargeTickFrequency
Gets or Sets the number of positions between large tick marks
Declaration
public int LargeTickFrequency { get; set; }
Property Value
System.
|
LeftButton
Gets instance of TrackBarArrowButton
Declaration
public TrackBarArrowButton LeftButton { get; }
Property Value
Maximum
Gets or sets a maximum value for the trackbar position
Declaration
public float Maximum { get; set; }
Property Value
System.
|
Minimum
Gets or sets a minimum value for the trackbar position
Declaration
public float Minimum { get; set; }
Property Value
System.
|
Ranges
Gets the Range collection.
Declaration
public TrackBarRangeCollection Ranges { get; }
Property Value
RightButton
Gets instance of TrackBarArrowButton
Declaration
public TrackBarArrowButton RightButton { get; }
Property Value
ShowButtons
Gets or Sets whether the TrackBar's handles should be drawn
Declaration
public bool ShowButtons { get; set; }
Property Value
System.
|
ShowSlideArea
Gets or Sets whether the SlideArea should be visible
Declaration
public bool ShowSlideArea { get; set; }
Property Value
System.
|
ShowTicks
Gets or Sets Ticks Visibility
Declaration
public bool ShowTicks { get; set; }
Property Value
System.
|
SlideAreaWidth
Gets or Sets the width of TrackBar's SlideArea
Declaration
public int SlideAreaWidth { get; set; }
Property Value
System.
|
SliderAreaColor1
Gets or Sets TrackBar's sliders area color
Declaration
public Color SliderAreaColor1 { get; set; }
Property Value
System.
|
SliderAreaColor2
Gets or Sets TrackBar's sliders area color
Declaration
public Color SliderAreaColor2 { get; set; }
Property Value
System.
|
SliderAreaGradientAngle
Gets or Sets the gradient angle of the SliderArea
Declaration
public float SliderAreaGradientAngle { get; set; }
Property Value
System.
|
SmallChange
Gets or Sets the number of positions that the trackbar moves in response to keyboard arrow keys and the trackbar buttons.
Declaration
public int SmallChange { get; set; }
Property Value
System.
|
SmallTickFrequency
Gets or Sets the number of positions between small tick marks
Declaration
public int SmallTickFrequency { get; set; }
Property Value
System.
|
SnapFrequency
Gets or Sets the Snap frequency of the TrackBar
Declaration
public TrackBarSnapFrequency SnapFrequency { get; set; }
Property Value
SnapMode
Gets or Sets the Snap mode of the TrackBar
Declaration
public TrackBarSnapModes SnapMode { get; set; }
Property Value
ThumbSize
Gets or Sets TrackBar's Size
Declaration
public Size ThumbSize { get; set; }
Property Value
System.
|
ThumbWidth
Gets or Sets TrackBar's thumbWidth
Declaration
public int ThumbWidth { get; set; }
Property Value
System.
|
TickColor
Gets or Sets TrackBar's ticks color
Declaration
public Color TickColor { get; set; }
Property Value
System.
|
TickFrequency
Gets or Sets the number of positions between small tick marks
Declaration
public int TickFrequency { get; set; }
Property Value
System.
|
TickStyle
Gets or Sets whether the TrackBar's ticks should be drawn
Declaration
public TickStyles TickStyle { get; set; }
Property Value
TrackBarMode
Gets or Sets the Mode of the TrackBar
Declaration
public TrackBarRangeMode TrackBarMode { get; set; }
Property Value
Value
Gets or Sets TrackBar's value
Declaration
public float Value { get; set; }
Property Value
System.
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateTrackBarBodyElement()
Declaration
protected virtual TrackBarBodyElement CreateTrackBarBodyElement()
Returns
CreateTrackBarLeftArrowButton()
Declaration
protected virtual TrackBarArrowButton CreateTrackBarLeftArrowButton()
Returns
CreateTrackBarRightArrowButton()
Declaration
protected virtual TrackBarArrowButton CreateTrackBarRightArrowButton()
Returns
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.
|
Overrides
FireScrollEvent(Int32)
Declaration
public void FireScrollEvent(int oldValue)
Parameters
System.
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.
|
Overrides
OnLabelFormatting(TrackBarLabelElement)
Declaration
protected virtual void OnLabelFormatting(TrackBarLabelElement labelElement)
Parameters
Track
|
OnLoaded()
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnRangeValueChanged(RangeChangedEventArgs)
Declaration
protected void OnRangeValueChanged(RangeChangedEventArgs e)
Parameters
OnScroll(ScrollEventArgs)
Declaration
public virtual void OnScroll(ScrollEventArgs e)
Parameters
System.
|
OnTickFormatting(TrackBarTickElement)
Declaration
protected virtual void OnTickFormatting(TrackBarTickElement tickElement)
Parameters
Track
|
OnValueChanged(EventArgs)
Declaration
public virtual void OnValueChanged(EventArgs e)
Parameters
System.
|
Events
LabelFormatting
Occurs when a Label needs to be formatted.
Declaration
public event LabelFormattingEventHandler LabelFormatting
Event Type
Scroll
Occurs when the trackBar slider moves
Declaration
public event ScrollEventHandler Scroll
Event Type
System.
|
TickFormatting
Occurs when a Tick needs to be formatted.
Declaration
public event TickFormattingEventHandler TickFormatting
Event Type
ValueChanged
Occurs when the value of the controls changes
Declaration
public event EventHandler ValueChanged
Event Type
System.
|