09 2013 档案

摘要:1 private TestTabControl TabControlParent 2 { 3 get 4 { 5 TestTabControl parent = base.Parent as TestTabControl; 6 if (parent != null) 7 { 8 return parent; 9 }10 for ... 阅读全文
posted @ 2013-09-11 11:44 法的空间 阅读(245) 评论(0) 推荐(0) 编辑
摘要:protected virtual void OnSelectionChanged(SelectionChangedEventArgs args) { } 1 public TestTabControl() 2 { 3 KeyEventHandler handler = null; 4 SelectionChangedEventHandler handler2 = null; 5 this._updateIndex = true; 6 this.Sel... 阅读全文
posted @ 2013-09-11 10:39 法的空间 阅读(236) 评论(0) 推荐(0) 编辑
摘要:在 WPF 中,TabControl 可以直接将 ItemsSource 绑定数据源,见将 TabControl 绑定到数据的示例http://msdn.microsoft.com/zh-cn/library/aa972130(VS.90).aspxCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->匪疑所思的是,TabControl.ItemTeplate 居然是用于 Header, ContentTemplate 才是用于 TabItem。但 阅读全文
posted @ 2013-09-09 13:51 法的空间 阅读(453) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示