source: trunk/CrypPlugins/WorkspaceManager/View/Converter/ScaleToPercentageConverter.cs @ 1583

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

-Zoom implemented
-PluginContainerView delete function added
-Several Style changes
-added images

File size: 629 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 ScaleToPercentageConverter : IValueConverter
10    {
11
12        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
13        {
14            return (double)value * 100;
15        }
16
17        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
18        {
19            throw new NotImplementedException();
20        }
21    }
22}
Note: See TracBrowser for help on using the repository browser.