Hello everyone, I need help with VisualState.StateTriggers. The message I’m getting in my xaml code is: The member “State Triggers” is not recognised or is not accessible. I have try to use Blend to generate xaml code for triggers but the small button for that doesn’t exists. My project is set to universal app. I’m using windows 10 with Visual Studio Community 2015. Anyone knows what could be a problem?

1 Year
Discussion Span
Last Post by cool_intentions

If your xaml code has State Triggers the same as your post, remove the space, StateTriggers.

Edited by tinstaafl


Hi, I found a problem. It wasn’t empty space between words. The problem was that I have selected windows 8.1 universal app template. In windows 8.1 apps StateTriggers are not supported. The combination of outdated book and new source from MSDN brought me this problem. Sorry for taking your time for something like this.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.