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

BaseGauge.ApplyStyles(StyleCollection) Method

Applies the specified collection of styles to the current gauge.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v19.1.Core.dll

Declaration

public virtual void ApplyStyles(
    StyleCollection styles
)

Parameters

Name Type Description
styles DevExpress.XtraGauges.Core.Styles.StyleCollection

A DevExpress.XtraGauges.Core.Styles.StyleCollection object.

Remarks

When the GaugeControlBase.AutoLayout property is set to true, the ApplyStyles and GaugeControlBase.LayoutPadding properties define how gauges are arranged within a gauge container.

See Also