Changing Floating DocumentWindow Style

Docking/MDI for WPF Forum

Posted 8 years ago by John Dunn
Version: 12.1.0561
Avatar

I've figured out how to change the DocumentWindow tab colors via a Style. The issue now is that I'm not having any luck changing the look of the window when it's rafted. I'd like to change both the header and the border. Is this something that I can do easily via a Style or will I have to change the ControlTemplate? The Style I'm using looks like

    <Style x:Key="{x:Type docking:DocumentWindow}" TargetType="{x:Type docking:DocumentWindow}">
      <Setter Property="TabBackground" Value="LightGray" />
      <Setter Property="TabBorderBrush" Value="DimGray" />
      <Setter Property="TabForeground" Value="Black" />
      <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="True">
          <Setter Property="TabBackground" Value="AliceBlue" />
          <Setter Property="TabBorderBrush" Value="LightBlue" />
          <Setter Property="TabForeground" Value="Black" />
        </Trigger>
        <Trigger Property="IsSelected" Value="True">
          <Setter Property="TabBackground" Value="AliceBlue" />
          <Setter Property="TabBorderBrush" Value="DimGray" />
          <Setter Property="TabForeground" Value="Black" />
        </Trigger>
      </Style.Triggers>
    </Style>

And for right now I'd like to have the border and background of the title bar be LightBlue.

Comments (2)

Posted 8 years ago by John Dunn
Avatar

Woops. Just noticed this ( http://www.actiprosoftware.com/community/thread/20329/rafting-window-styling ) is probably the same thing I'm asking.

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi John,

We did answer that other post, so you can find the answer to your question there.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) 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.