开发者

XAML: Property inheritance WITHOUT WPF?

开发者 https://www.devze.com 2023-01-13 04:43 出处:网络
I\'m working on a XAML - based CUI (console user interface) framework (which should look like Turbo Vision) for C# and I need to use property inheritance with dependency properties.

I'm working on a XAML - based CUI (console user interface) framework (which should look like Turbo Vision) for C# and I need to use property inheritance with dependency properties.

Is there ANY way to accomplish that?

I would prefer to be able t开发者_如何转开发o derive future widgets from DependencyObject, not "Visual" or something similar, because I want to have my own system.

Any ideas?


This discussion I had with myself over on the MSDN forums may be useful to you: http://social.msdn.microsoft.com/forums/en-us/wpf/thread/6E73F05F-0141-46F1-BB06-EA7ADF30B267

That was a year ago. I don't remember ever completing that project.. =P

0

精彩评论

暂无评论...
验证码 换一张
取 消