Delete Source2ImageConverter
This commit is contained in:
1 parent
8066b3836b
commit
0f9cbd11dd
5 files changed
+4
-27
No files matched your search
@@ -1,20 +0,0 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Windows;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace HandyControl.Tools.Converter
|
||||
{
|
||||
public class Source2ImageConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return value != null ? new Uri(value.ToString(), UriKind.Relative) : null;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return value != null && (Visibility)value == Visibility.Visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user