Skip to main content

RepositoryItemTrackBar.InvertLayout Property

Gets or sets whether this track bar should be reversed.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool InvertLayout { get; set; }

Property Value

Type Default Description
Boolean false

true if this track bar should be reversed; otherwise, false.

Remarks

The following figure illustrates a horizontally oriented track bar in normal and inverted layout modes.

TrackBar - Normal and Inverted Layout

Note that this property affects only the way the editor looks and does not change its behavior. For instance, scrolling the mouse wheel up will increase the current track bar value, regardless of the selected layout mode (the thumb will move from left to right when the InvertLayout property equals false and from right to left when it is set to true).

See Also