編輯

共用方式為


BaseInteractiveElement.IsStateActive(String) Method

Definition

Check if a state is currently active.

public:
 bool IsStateActive(System::String ^ stateName);
public bool IsStateActive (string stateName);
member this.IsStateActive : string -> bool
Public Function IsStateActive (stateName As String) As Boolean

Parameters

stateName
String

The name of the state to check

Returns

True if the state is active, false if the state is not active

Applies to