SuperJMN
SuperJMN

Reputation: 14002

Style.Setter with Binding in Universal Windows Applications

As stated in the question below, Setters cannot contain Bindings in Windows RT/Phone 8.1

=> Binding SelectedItems in ListView to a ViewModel in Windows Phone 8.1

Has this changed in the new Universal Windows Applications?

Still not Bindings in values?

Upvotes: 0

Views: 203

Answers (1)

SuperJMN
SuperJMN

Reputation: 14002

You can't bind to the DataContext using the normal ways, but you can do it using other (smart) methods:

See the below article - it provides a "helper" that allows to bind to the DataContext with a Setter.

http://dlaa.me/blog/post/10089023

Upvotes: 1

Related Questions