How might I implement something like the VS XAML designer?

Docking/MDI for WPF Forum

Posted 13 years ago by Craig - Varigence, Inc.
Version: 11.1.0545
Are there any samples that mirror the XAML designer in Visual Studio? Or, more generally, what would be the best way to implement a document tab that has a top half using one control and the bottom half using another control, with a custom separator between them that could be used for resizing either half and potentially other things.

Looking through the documentation, it seems like nested dock sites might be the way to go, except that I don't see a way to provide a custom separator with re-templating, and I don't want the dock sites to be removable from the document tab.

Any thoughts on the best approach for this are appreciated.



[Modified at 11/03/2011 05:31 PM]

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Craig,

The native Grid panel supports splitting. I'd probably recommend using that. You should be able to find a lot of info on Grid-based splitting on MSDN or blogs. You can even put a custom split-looking control behind the splitter in the center part of the Grid.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.