2011年10月25日
摘要: (图片来自Silverlight项目的资源中)步骤:1. 实现转换类 public class UserIDToImageConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { if (parameter.ToString() == "text") { return (int)value + 10000; } if (parameter.ToS 阅读全文
posted @ 2011-10-25 23:48 WPF之家 阅读(863) 评论(0) 推荐(0)