Changing Floating DocumentWindow Style

Docking/MDI for WPF Forum

Posted 12 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 12 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 12 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 (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.