public Style(Xaml.DependencyProperty property, UIObject value) { Initialize(); Set(property, value); }
// 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);