summaryrefslogtreecommitdiff
path: root/Gestor.Application/Converters/BoletosNotasConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Application/Converters/BoletosNotasConverter.cs')
-rw-r--r--Gestor.Application/Converters/BoletosNotasConverter.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/Gestor.Application/Converters/BoletosNotasConverter.cs b/Gestor.Application/Converters/BoletosNotasConverter.cs
deleted file mode 100644
index e1830a0..0000000
--- a/Gestor.Application/Converters/BoletosNotasConverter.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using Gestor.Application.Model.Ajuda;
-using System;
-using System.Globalization;
-using System.Windows;
-using System.Windows.Data;
-using System.Windows.Markup;
-
-namespace Gestor.Application.Converters
-{
- public class BoletosNotasConverter : MarkupExtension, IValueConverter
- {
- public BoletosNotasConverter()
- {
- }
-
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return (string.IsNullOrEmpty(((Boleto)value).Nota) ? Visibility.Hidden : Visibility.Visible);
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return null;
- }
-
- public override object ProvideValue(IServiceProvider serviceProvider)
- {
- return this;
- }
- }
-} \ No newline at end of file