Skip to main content

BaseGauge.ApplyStyles(StyleCollection) Method

Applies the specified collection of styles to the current gauge.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v24.2.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