Ejemplo n.º 1
0
        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);
        }