Пример #1
0
 public Style(Xaml.DependencyProperty property, UIObject value)
 {
     Initialize(); Set(property, value);
 }
Пример #2
0
        // TODO: ? how to let intellisense offer only styles for the type?
        // will helper .Style<T>(this T, Style<T> style) interfere with the generated .Style(this T, Style style)?

        public static Style <T> Style <T>(Xaml.DependencyProperty property, UIObject value) where T : DependencyObject
        => new Style <T>(property, value);