source: trunk/CrypPlugins/WorkspaceManager/View/Converter/BlurViewStateConverter.cs @ 2803

Last change on this file since 2803 was 2803, checked in by kopal, 11 years ago
File size: 836 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Data;
6using WorkspaceManager.View.Container;
7using WorkspaceManager.Model;
8
9namespace WorkspaceManager.View.Converter
10{
11    class BlurViewStateConverter : IValueConverter
12    {
13        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
14        {
15            PluginViewState state = (PluginViewState)value;
16
17            if (state == PluginViewState.Min)
18                return 15;
19            else
20                return 0;
21        }
22
23        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
24        {
25            throw new NotImplementedException();
26        }
27    }
28}
Note: See TracBrowser for help on using the repository browser.