Hi,
To make things simple I thought I could add some settings in my resources and bind it to whatever/whenever I need it. For example, I wanted to be able to toggle the visibility of some objects. So I made the following XAML:
// Namespaces....
xmlns:win="clr-namespace:System.Windows;assembly=System.Windows"
// Namespaces....
<UserControl.Resources>
<win:Visibility x:Key="ReflectionVisibility" />
</UserControl.Resources>
Although, now I'm wondering how I can:
Set a default value in the XAML
Change the value in code behind
Thanks!