AddAlternateStateAsync Method
Overloads
| AddAlternateStateAsync(String) | Adds an alternate state in the app. You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states. | |
| AddAlternateStateAsync(AsyncHandle, String) | Adds an alternate state in the app. You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states. | 
AddAlternateStateAsync(String)
Adds an alternate state in the app.
You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states.
Declaration
      public Task AddAlternateStateAsync([QixName("qStateName")] string stateName)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | stateName | Name of the alternate state. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | 
Implements
AddAlternateStateAsync(AsyncHandle, String)
Adds an alternate state in the app.
You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selections in the other states.
Declaration
      public Task AddAlternateStateAsync(AsyncHandle asyncHandle, [QixName("qStateName")] string stateName)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | Handle to asynchronous method request | 
| System.String | stateName | Name of the alternate state. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task |