Hi all let me share with you a problem I’m facing…
My goal is to isolate the most possible the dependencies that we have on a specific third party control (DataGrid), so if we later decide to change to another control, we would only have to modify our custom control and everything else in the application would continue to work perfectly.
I think that, with Winforms, it would be a nice approach. With WPF I’m not so sure…
The problem that I’m seeing relates to customizing the custom control appearance. When implementing my custom control I would provide a default appearance in the custom control library generic theme. But then I would like to give the chance to my application designers to customize the custom control appearance. I think the problem is right there.
It seems to me that my application designers, when creating the styling for my custom control, would have to target the third party control, thus ruining my ultimate goal which was to minimize the references to the third party control.
I’m I thinking correctly?
I would be grateful if you can bring some light to my mind.