fixed #259
This commit is contained in:
1 parent
0b79d187ac
commit
99874a418f
16 files changed
+53
-17
No files matched your search
@@ -10,7 +10,7 @@ namespace HandyControlDemo.Tools.Converter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default(Brush);
|
||||
return value is string str ? ResourceHelper.GetResource<Brush>(str) : default;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
|
||||
Reference in new issue
Block a user