Member Avatar

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?

Recommended Answers

All 2 Replies

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

Member Avatar

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.