11
Feb/100
Feb/100
Adding properties to the App Class
If you want to add properties to your App class (App : Application) and actually access them in your application.
Make sure to override Current to return an App instead of an Application.
public static new App Current
{
get
{
return Application.Current as App;
}
}