开发者

WPF LOB Application - Client Specific Control Changes

I have written a WPF Line of Business application that has a particular sections which need to have a slightly different user interface (swapping out some checkboxes for a combobox) for a particular customer.

I want to avoid having to maintain multiple copies of this window. Is there a way that I can make use of a resource(s) (style, template, etc) so that the content for this particular section can refer to a client specific resource file?

I hope that this question makes sen开发者_StackOverflow社区se.

EDIT: Is there an answer somewhere in using control templates?


You can create two UserControls that represent the two sections and swap them programatically or through binding.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜