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