Share an created object in resource
If you want to share a same object created, even this is create in hierachical tree you can by using x:Shared= »true » like this
1 2 3 |
<local:SelectionConverter x:Key="sc" x:Shared="false" Color="Blue"/> |
it’s a good solution for shared parameters on objects
Commentaires récents