Reputation: 710
in windows form i create a base form and inherit all my forms from that base one .
then with this way i can share all my property , function and variable that i want be in all forms . also this object oriented way help me to change all form fast with just change my base form
now i want know how can i do some thing like this in WPF
i handle share function with a public static class but i search for better way ...
Upvotes: 2
Views: 976
Reputation: 388
You can use a class without design mode (xaml).
check this out site reference
Upvotes: 1