Skip to main content
A newer version of this page is available. .

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.v19.1.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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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