New to Telerik UI for WinForms? Start a free 30-day trial

Represents a core range object that contains the start and end.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TrackBarRange : INotifyPropertyChanged, ICloneable, IComponent, IDisposable

Inheritance: objectTrackBarRange

Implements: ICloneableIComponentIDisposableINotifyPropertyChanged

Constructors

Creates an unattached range with start and end values initialized to zero.

C#
public TrackBarRange()

Creates a range with the specified endpoints and text identifier.

C#
public TrackBarRange(float start, float end, string text)
Parameters:startfloat

The start value of the range.

endfloat

The end value of the range.

textstring

The identifier stored in Text and used by the collection's string indexer.

Creates a range with the specified endpoints and an empty text identifier.

C#
public TrackBarRange(float start, float end)
Parameters:startfloat

The start value of the range.

endfloat

The end value of the range.

Exceptions: ArgumentException

start is greater than end.

Creates a range with the specified end value and text identifier.

C#
public TrackBarRange(float value, string text)
Parameters:valuefloat

The range's end value.

textstring

The identifier stored in Text and used by the collection's string indexer.

Creates a range whose end value represents the thumb value in single-thumb modes.

C#
public TrackBarRange(float value)
Parameters:valuefloat

The range's end value.

Properties

Gets or Sets the end of the range.

C#
public float End { get; set; }

Gets whether the range contains selected thumb"

C#
[Browsable(false)]
public bool IsSelected { get; }

Gets the Owner Collection

C#
[Browsable(false)]
public TrackBarRangeCollection Owner { get; }

Gets or sets the component site. A non-null site causes range-value validation to use the sited component path.

C#
[Browsable(false)]
public ISite Site { get; set; }

Implements: IComponent.Site

Gets or Sets the start of the range.

C#
public float Start { get; set; }

Gets or Sets the Tag.

C#
[Browsable(false)]
public object Tag { get; set; }

Gets or Sets the Name.

C#
public string Text { get; set; }

Gets or Sets the ToolTipText

C#
public string ToolTipText { get; set; }

Methods

Creates a new object that is a copy of the current instance.

C#
public object Clone()
Returns:

object

Implements: ICloneable.Clone()

Raises the Disposed event.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Raises PropertyChanged for a range property that has changed.

C#
protected virtual void OnNotifyPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the changed property.

Events

Occurs when Dispose() is called.

C#
public event EventHandler Disposed

Implements: IComponent.Disposed

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged