Dynamic Title for Shell window

Sep 24, 2008 at 6:49 PM
I want Title of Shell Window dynamic based on some property in my App.
How to achieve this in CompositeWPF
Sep 24, 2008 at 8:08 PM
Edited Sep 24, 2008 at 8:10 PM



You may add a Title property in the Presenter or Presentation Model (depending in the approach you are using) of your Shell, which you change when necessary, and then you would only need to do data binding between this property and the Title property in the XAML.


You may find interesting this blog post that describes how to use Presentation Model and Data Templates: Presentation Model with DataTemplates in CompositeWPF (Prism) Sample.


Hope it helps.


Ignacio Baumann Fonay