摘要:
在做WPF项目的时候我们往往需要把前台代码写在后台,这样控制更灵活,减少代码量。下面一个列子展示了后台实现绑定,数据转换Convert,Grid布局后台写法。 下面直接贴代码(一)前台代码<Window x:Class="BindingDemo.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local 阅读全文
posted @ 2013-01-22 21:47
焦涛
阅读(13049)
评论(1)
推荐(0)
浙公网安备 33010602011771号