I have a custom control derived from Button:
class MyControl : Button{}
And suppose, this class is empty (has no members).
In t
I use SetResourceReference
SetResourceReference(StyleProperty, typeof(Button));