public object ConvertFrom(XamlNamespaces namespaces, object value) { if (value is string) { return(new SolidColorBrush((Color)colorTypeConverter.ConvertFrom(namespaces, value))); } throw new Granular.Exception("Can't convert \"{0}\" to Color", value); }
public object ConvertFrom(XamlNamespaces namespaces, object value) { return(new SolidColorBrush((Color)colorTypeConverter.ConvertFrom(namespaces, value))); }