public object Convert(object value, Type targetType, object parameter, string language) { string resourceName = value as string; if (ResourceLocator.GetThemeResource(resourceName, out SolidColorBrush brush)) { return(brush); } return(null); }
public object Convert(object value, Type targetType, object parameter, string language) { string resourceName = value as string; if (ResourceLocator.GetThemeResource(resourceName, out SolidColorBrush brush)) { return(brush); } return(null); }