Skip to main content

StateIndicator.SetStateByName(String) Method

Activates a specific state by its name.

Namespace: DevExpress.XtraGauges.Core.Model

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

NuGet Package: DevExpress.Gauges.Core


public void SetStateByName(
    string name


Name Type Description
name String

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


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

See Also