DependencyProperty for generic class #65
fubar-coder
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
DependencyPropertyAttribute
requires the specification of the type astypeof(T)
, which isn't possible, if the class is generic and the produced function should use the type of the generic type argument.Problem
Desired result
Possible definition
Thoughts
This would also allow - for example - properties of types, which use the generic type argument:
Also, only the
DefaultValueExpression
would be supported, but not theDefaultValue
.Beta Was this translation helpful? Give feedback.
All reactions