Mamad RN
Mamad RN

Reputation: 710

How do inherit in Wpf that i do in windows form

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

Answers (1)

mX64
mX64

Reputation: 388

You can use a class without design mode (xaml).

check this out site reference

Upvotes: 1

Related Questions