Parameters
- stateID
- The state string identifier.
{
// Define the condition in the DAML file based on the state
if (activate)
FrameworkApplication.State.Activate("someState");
else
FrameworkApplication.State.Deactivate("someState");
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)