Skip to main content
A newer version of this page is available. .

StateIndicator.SetStateByName(String) Method

Activates a specific state by its name.

Namespace: DevExpress.XtraGauges.Core.Model

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

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