For a new application I created a custom ControlTemplate for a window so that all windows have the same look and feel. As I set the property WindowStyle to none and AllowsTransparency to true, I needed to create my own window controls (like close button, title bar etc.).
Is there any possibility to bind the text of a label, which is contained in the ControlTemplate, to the Window title of this one window just by using the xaml code in the template?
{TemplateBinding Title}should do it (TemplateBindingreference).