using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; namespace Muchinfo.MTPClient.Infrastructure.Converters { /// /// 价格模式转换器 /// public class ePriceModeConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { var tt = value; return true; //if (decimal.Parse(value.ToString()) == 1) //{ // return Visibility.Visible; //} //return Visibility.Collapsed; } public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { throw new NotImplementedException(); } } }