ViewModels with UI hints in WPF–use grid splitters

Using ViewModels with UI hints WPF is a furious fast way to get your UI in place. However there was no declarative way to introduce splitters between UI parts.

There is now.

The EAInfo parts of Modlr is built with ViewModels and UI hints, and I can show you how to add splitters:

Right click in the ViewModel designer where you want the splitter:


Choose splitter kind and you are done.

I did this for the EAInfo ViewModels, and now you have a splitter between the grids and images and things.


If you want a different color width or style of your GridSplitters – define a Style for GridSplitter type…

(works in build 5580 and beyond)

This entry was posted in Declarative, Modlr, ViewModel, WECPOF, WPF. Bookmark the permalink.

2 Responses to ViewModels with UI hints in WPF–use grid splitters

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.