public static Brush AsBrush(this Color color) { if (color != null) { var uiColor = color.AsColor(); var brush = new SolidColorBrush(uiColor); return(brush); } return(null); }
public static SolidColorBrush AsBrush(this Color target) { return(new SolidColorBrush(target.AsColor())); }
public static AColor ToPlatform(this Color self) => self.AsColor();
public static AColor ToNative(this Color self) => self.AsColor();