Back to Devexpress

LinearGauge.Orientation Property

windowsforms-devexpress-dot-xtragauges-dot-win-dot-gauges-dot-linear-dot-lineargauge-621a083b.md

latest1.7 KB
Original Source

LinearGauge.Orientation Property

Gets or sets the gauge’s orientation.

Namespace : DevExpress.XtraGauges.Win.Gauges.Linear

Assembly : DevExpress.XtraGauges.v25.2.Win.dll

NuGet Package : DevExpress.Win.Gauges

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraGauges.Core.Model.ScaleOrientationVertical

A ScaleOrientation value that specifies the gauge’s orientation.

|

Remarks

Setting the gauge’s orientation to horizontal changes the direction of X and Y axes. See Coordinate System to learn more.

See Also

Coordinate System

LinearGauge Class

LinearGauge Members

DevExpress.XtraGauges.Win.Gauges.Linear Namespace