source: trunk/CrypPlugins/WorkspaceManager/View/Converter/SelectedContentBrushConverter.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: 722 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Data;
6using System.Drawing;
7
8namespace WorkspaceManager.View.Converter
9{
10    class SelectedContentBrushConverter : IValueConverter
11    {
12        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
13        {
14            bool b = (bool) value;
15            if (b)
16                return 0.4;
17
18            return 0;
19        }
20
21        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
22        {
23            throw new NotImplementedException();
24        }
25    }
26}
Note: See TracBrowser for help on using the repository browser.