Identity Interface I should know better


11
Feb/10
0

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;
            }
        }

 

 

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment


No trackbacks yet.