StateIndicator.SetStateByName(String) Method
In This Article
Activates a specific state by its name.
Namespace: DevExpress.XtraGauges.Core.Model
Assembly: DevExpress.XtraGauges.v24.2.Core.dll
NuGet Package: DevExpress.Gauges.Core
#Declaration
#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