Skip to main content

LinearGauge.AutoSize Property

Gets or sets a value indicating whether the size of a LinearGauge control should be determined automatically.

Namespace: DevExpress.XtraGauges.Win.Gauges.Linear

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AutoSize { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

true, to automatically determine the size; otherwise, false.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

When this option is enabled, the BaseGauge.ProportionalStretch property is ignored.

Note that the AutoSize option is not applicable to digital or state indicator gauges.

See Also