C#C
C#2y ago
stigzler

WPF - how to incorporate existing code into a Content Control

Hi. I'm at the limits of my WPF-Fu. I have code monkeyed some xmal that can re-orientate two sides with a separator (think winforms spliterPanel) to be either horizontally or vertically aligned depending on a ViewModel property.

The problem is now coming when I'm trying to fit my existing code into this lifted code. As I say - I'm out my depth as it's now getting into the realms of ContentControls and DataTemplates (nested I think at that). COuld someone please help out?

Code re: the above here: https://paste.mod.gg/yveppqhunols/0
A tool for sharing your source code with the world!
Was this page helpful?