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

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