diff --git a/src/Titano.Ui/Controls/TitanoWindow.cs b/src/Titano.Ui/Controls/TitanoWindow.cs index aa79b438..4a8f326d 100644 --- a/src/Titano.Ui/Controls/TitanoWindow.cs +++ b/src/Titano.Ui/Controls/TitanoWindow.cs @@ -37,6 +37,9 @@ public class TitanoWindow : Window public TitanoWindow() { + // Implicit styles match the exact element type only; bind every subclass (MainWindow, dialogs) to the + // TitanoWindow style from the application resources so they all get the custom chrome template. + SetResourceReference(StyleProperty, typeof(TitanoWindow)); WindowChrome.SetWindowChrome(this, new WindowChrome { CaptionHeight = 34,