2013年5月25日
摘要: 以上的combobox中 ItemStringFormat="{}{0}秒" 会在每个值后面加一个'秒'字SelectedValue="{Binding Limit, RelativeSource={RelativeSource AncestorType=Window}}"RelativeSource指明是相对路径来找数据源,源的类型是Window,即本xaml对应的xaml.cs中定义的数据源Limit.这里publicintLimit{get;set;}这时引申Itemsoure的指定也可是这样指定 ... 阅读全文
posted @ 2013-05-25 22:17 zsfwh 阅读(580) 评论(0) 推荐(0) 编辑