Posted 15 years ago
by Eli Gazit
-
CEO,
Softwear Suit Ltd
When I create a document window style I lose the document window nice design (for the title).
Even in the simple code:I lose the nice background and colors the tab header has. Furthermore when I change the Theme I lose the automatic change of colors of that as well.
Is there a way to add a control template but not losing the design?
Maybe based the style on your style?
[Modified at 07/14/2009 03:19 AM]
Even in the simple code:
<Style x:Key="tabControlStyle" TargetType="{x:Type docking:DocumentWindow}">
<Setter Property="FontSize" Value="14" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type docking:DocumentWindow}">
Here comes my content
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Is there a way to add a control template but not losing the design?
Maybe based the style on your style?
[Modified at 07/14/2009 03:19 AM]