wpf中转换器的简单使用

时间:2016-06-09 11:56:37
【文件属性】:
文件名称:wpf中转换器的简单使用
文件大小:55KB
文件格式:RAR
更新时间:2016-06-09 11:56:37
wpf 转换器 wpf中IValueConverter的简单使用,以分页页码的转换为例。
【文件预览】:
TestConvert.suo
TestConvert.sln
TestConvert
----App.xaml.cs(307B)
----MainWindow.xaml.cs(2KB)
----MainWindow.xaml(1KB)
----Properties()
--------Settings.settings(201B)
--------Resources.Designer.cs(3KB)
--------AssemblyInfo.cs(2KB)
--------Settings.Designer.cs(1KB)
--------Resources.resx(5KB)
----TestConvert.csproj(4KB)
----PageIndexConvert.cs(1KB)
----App.xaml(322B)
----obj()
--------x86()
----bin()
--------Debug()

网友评论

  • 还可以,值得一看吧
  • 挺实用的,刚好用上了
  • 不错,用着挺好的
  • 实用,可以运行
  • 挺实用 的,可以运行,谢谢。。。
  • 没看懂转换器的使用,其实使用就三个步骤,先在cs中定义转化器类,要继承接口,然后在xaml中定义转化器,第三绑定相应的数据就行。