From 1ac92c561b289201e321bf9babb8a51d3258c1b4 Mon Sep 17 00:00:00 2001 From: rmterra Date: Sun, 21 Feb 2016 18:27:45 -0300 Subject: [PATCH] removes VisibilityConverter .cs --- Wox/Converters/VisibilityConverter.cs | 30 --------------------------- Wox/Wox.csproj | 1 - 2 files changed, 31 deletions(-) delete mode 100644 Wox/Converters/VisibilityConverter.cs diff --git a/Wox/Converters/VisibilityConverter.cs b/Wox/Converters/VisibilityConverter.cs deleted file mode 100644 index 46488bde37..0000000000 --- a/Wox/Converters/VisibilityConverter.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Data; - -namespace Wox.Converters -{ - class VisibilityConverter : ConvertorBase - { - public override object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - if (value == null || value == DependencyProperty.UnsetValue) - { - return null; - } - - return bool.Parse(value.ToString()) ? Visibility.Visible : Visibility.Collapsed; - } - - public override object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - return null; - } - } - -} diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj index cce82657f9..35c29664b5 100644 --- a/Wox/Wox.csproj +++ b/Wox/Wox.csproj @@ -123,7 +123,6 @@ -