2008年10月13日

How to get the control inside the ControlTemplate/DataTemplate on run time.

摘要: Here is a similar example to get control inside DataTemplate at runtime.XAML code: In the code behind: public partial class Window1 : W... 阅读全文

posted @ 2008-10-13 21:48 oyl 阅读(663) 评论(0) 推荐(0) 编辑

wpf isEnabled属性从其container继承下来的问题

摘要: Let's suppose we have the following xaml: Although the TextBox's IsEnabled property is set to true it will inherit it's value from it's container, in ... 阅读全文

posted @ 2008-10-13 21:39 oyl 阅读(711) 评论(0) 推荐(0) 编辑

导航