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.v22.2.Core.dll

NuGet Package: DevExpress.Gauges.Core


public virtual void ApplyStyles(
    StyleCollection styles


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

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


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