Hi there,
I have a Property in my App.xaml.cs called User that holds the User details. I have read here that you can't have a dependency property on the App class.
I chose to use App.cs because it is global to the entire program and this is used for access control, but any alternatives are welcome.
Now my question is how can I bind to this property from my UserControls and Windows.
IsEnabled="{Binding Path=User, Converter={StaticResource hasAccessConverter}, ConverterParameter=Mid}"
This obviously only works on a property on the datacontext. I want to access the property on the App. Can someone show me an example of the binding to the App.xaml.cs property if I implement INotifyChanged?
Thanks -Oliver