阅读背景:

构建复合自定义控件WPF的最佳实践

来源:互联网 

Can You tell me about subj? For example I need to create new custom control that must be derived from datagrid and toolbar. And I want that new control to expose/propagate properties of base controls in order they to be accessed easily. The only way I know is deriving a class. Then descendant automatically gets all properties of ancestor. But multiple deriving in C# is prohibited, so I don't know how to expose properties and other behavior of second control... Styling and templating of such custom control is also needed.Can You tell me about subj? For example I need




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: