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

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

-fixed pathfinding
-fixed line drawing
-added Colorpicker
-fixed lock/unlock at TextInputWrapper
-feature: Background and TextForeground in TextInputWrapper added
-fixed a issue With loading and such
-WorkspaceModel doesn't throw exception anymore (Samples functional again)
-fixed some Styles
-Startable implemented and loaded right
-Startable Logo moved

File size: 727 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 MenuItemHeaderFixedConverter : 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 "unlock";
16            else
17                return "lock";
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.