Back to Devexpress

BaseGauge.ApplyStyles(StyleCollection) Method

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-basegauge-dot-applystyles-x28-devexpress-dot-xtragauges-dot-core-dot-styles-dot-stylecollection-x29.md

latest1.6 KB
Original Source

BaseGauge.ApplyStyles(StyleCollection) Method

Applies the specified collection of styles to the current gauge.

Namespace : DevExpress.XtraGauges.Core.Model

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
public virtual void ApplyStyles(
    StyleCollection styles
)
vb
Public Overridable Sub ApplyStyles(
    styles As StyleCollection
)

Parameters

NameTypeDescription
stylesDevExpress.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

BaseGauge Class

BaseGauge Members

DevExpress.XtraGauges.Core.Model Namespace