C
C#3mo 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
BlazeBin - yveppqhunols
A tool for sharing your source code with the world!
1 Reply
Sir Rufo
Sir Rufo3mo ago
Stack Overflow
WPF: Something standard and similar to the SplitContainer?
Is there something standard and similar to the Windows Forms SplitContainer in WPF? I'm a bit lost with Grids because controls seem not to be inside the cells but over them :s. I did some googli...