Back to Devexpress

RepositoryItemTrackBar.InvertLayout Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtrackbar-05656713.md

latest1.9 KB
Original Source

RepositoryItemTrackBar.InvertLayout Property

Gets or sets whether this track bar should be reversed.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool InvertLayout { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Overridable Property InvertLayout As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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.

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

RepositoryItemTrackBar Class

RepositoryItemTrackBar Members

DevExpress.XtraEditors.Repository Namespace