12345678910111213141516171819 |
- using System;
- using System.Globalization;
- using System.Windows.Data;
- namespace Agent.Converters
- {
- class MatchConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return (bool)value ? "원본과 동일" : "원본과 다름";
- }
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
- }
|