LinearGauge.AutoSize Property
In This Article
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
NuGet Package: DevExpress.Win.Gauges
#Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AutoSize { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Default |
Default | true, to automatically determine the size; otherwise, false. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
#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