Skip to main content
A newer version of this page is available. .

RepositoryItemTrackBar.HighlightSelectedRange Property

Gets or sets whether the selected range is highlighted.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool HighlightSelectedRange { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the selected range is highlighted; otherwise, false.

Remarks

By default, selected ranges are highlighted by the TrackBarControl and RangeTrackBarControl controls. To prevent range highlighting, set the HighlightSelectedRange property to false.

The following image shows TrackBarControls and RangeTrackBarControls with the HighlightSelectedRange property set to true and false:

TrackBar_HighlightSelectedRange

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HighlightSelectedRange property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also