MVVM & customised document window header

Docking/MDI for WPF Forum

Posted 13 years ago by Andrea McPherson
Version: 11.1.0542
I am using MVVM to create a set of documents in a tabbed MDI host (this is working fine). I want to be able to create a customised header with a circular progress bar as shown in the docking samples / docking window header app and bind whether the progress bar is showing based on a property in the view model. Any help in achieving this will be greatly appreciated.


Comments (1)

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

You would probably have to use a Style to bind the Header property to the current DataContext (i.e. <Setter Property="Header" Value="{Binding}" />). Then you'd define your custom header using the HeaderTemplate property. In that DataTemplate, you can bind to your view-model as the implicit context.

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.