BaseInteractiveElement.IsStatePresent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if a state is currently in the States list and is being tracked by the state manager.
public:
bool IsStatePresent(System::String ^ stateName);
public bool IsStatePresent (string stateName);
member this.IsStatePresent : string -> bool
Public Function IsStatePresent (stateName As String) As Boolean
Parameters
- stateName
- String
The name of the state to check
Returns
True if the state is being tracked, false if the state is not being tracked