Back to Devexpress

RepositoryItemTrackBar.Orientation Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtrackbar-00a4ee7f.md

latest1.9 KB
Original Source

RepositoryItemTrackBar.Orientation Property

Gets or sets a value that specifies the orientation of the track bar.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(Orientation.Horizontal)]
[DXCategory("Appearance")]
public Orientation Orientation { get; set; }
vb
<DefaultValue(Orientation.Horizontal)>
<DXCategory("Appearance")>
Public Property Orientation As Orientation

Property Value

TypeDefaultDescription
OrientationHorizontal

A Orientation value that specifies the orientation of the track bar.

|

Remarks

When the Orientation property is set to Orientation.Horizontal , the scroll box moves from left to right as the TrackBarControl.Value increases. If this property is set to Orientation.Vertical , the scroll box moves from bottom to top as the TrackBarControl.Value increases.

See Also

RepositoryItemTrackBar Class

RepositoryItemTrackBar Members

DevExpress.XtraEditors.Repository Namespace