Reputation:
How to change visualstate from code behind? I tried the following. But itz not working. Help me please.
VisualStateManager.GoToState(Control, "Checked", true);
Upvotes: 1
Views: 946
Reputation: 9439
Try this,
VisualStateManager.GoToElementState(Control, "Checked", true);
Upvotes: 1