Skip to main content

StateIndicator.SetStateByName(String) Method

Activates a specific state by its name.

Namespace: DevExpress.XtraGauges.Core.Model

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

NuGet Package: DevExpress.Gauges.Core

Declaration

public void SetStateByName(
    string name
)

Parameters

Name Type Description
name String

A string that specifies the name of the state to activate.

Remarks

This method searches the StateIndicator.States collection for a state with the specified name. If found, the state is activated.

See Also