RepositoryItemTrackBar.InvertLayout Property

Gets or sets whether this track bar should be reversed.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll


public virtual bool InvertLayout { get; set; }
Public Overridable Property InvertLayout As Boolean

Property Value

Type Default Description


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


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