Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I am creating the custom control like this:
public partial class Test : Control { }
<Style TargetType="local:Test"/>
but i see some other patterns like:
and
I would be grateful if someone could guide me.
Creating a DefaultXStyle makes sense because you can create other controls based on it.
But I'm not sure exactly what this.DefaultStyleKey does. Do we really need to create it? What's the problem if it doesn't exist?
Beta Was this translation helpful? Give feedback.
All reactions