工作筆記
2015年12月9日 星期三
Create Customer DependencyProperty in WPF
使用Dependency property流程:
1. 建立Dependency object, 熱鍵(propdp), 最後一個參數可選擇要對應的屬性,
也可以選擇用function pointer
這樣在呼叫的地方就可以使用此屬性
Reference:
http://www.codeproject.com/Articles/135913/WPF-Dependency-Property-Compatible-with-XAML-Bindi
沒有留言:
張貼留言
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言