# AddAlternateState Method

## Overloads

| [AddAlternateState(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.AddAlternateState.htm#Qlik_Engine_App_AddAlternateState_System_String_) |  | Adds an alternate state in the app.<br><br>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. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.AddAlternateState.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.AddAlternateState.htm)

## AddAlternateState(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 void AddAlternateState([QixName("qStateName")] string stateName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | stateName | Name of the alternate state. |

### Implements

[IApp.AddAlternateState(String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.AddAlternateState.htm#Qlik_Engine_IApp_AddAlternateState_System_String_)