source: trunk/CrypPlugins/WorkspaceManager/View/Converter/ContextMenuFixUnfixConverter.cs @ 1892

Last change on this file since 1892 was 1892, checked in by matkovic, 11 years ago

-Fullscreen enhanced
-TextInput added
-Picture scaling added
-Textinput scaling added
-Textinput format command added
-Several style changes
-Progressbar redesigned
-Last log message now appearing
-IControlContainer commenced
-Several icons added
-Plugin state now stored and loaded
-Plugin height and width now storing and loading
-Several misc changes

File size: 725 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Data;
6
7namespace WorkspaceManager.View.Converter
8{
9    class ContextMenuFixUnfixConverter : IValueConverter
10    {
11        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
12        {
13            bool b = (bool)value;
14            if (b)
15                return "Fix";
16            else
17                return "Unfix";
18        }
19
20        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
21        {
22            throw new NotImplementedException();
23        }
24    }
25}
Note: See TracBrowser for help on using the repository browser.