Exemple #1
0
 private static AttachedProperty <T> RegisterAttached <T>(Expression <Func <AttachedProperty <T> > > nameExpression, T defaultValue = default(T)) =>
 AttachedProperty.Register <Dock, T>(nameExpression, defaultValue);
Exemple #2
0
 private static AttachedProperty <T> RegisterAttached <T>([NotNull] Expression <Func <AttachedProperty <T> > > nameExpression, T defaultValue = default) =>
 AttachedProperty.Register <Canvas, T>(nameExpression, defaultValue);