Styling Floating windows in TabbedMdi

Docking/MDI for WPF Forum

Posted 8 years ago by Chris Klepeis
Version: 16.1.0630
Avatar

I can't figure out what style to use or how to change the background color of the floating windows when using DockSite with TabbedMdi

 

<Style TargetType="{x:Type docking:DockSite}">
    <Setter Property="Background" Value="#293955" />
</Style>

The DockSite style works for the main window, but not the floating window.

<Style TargetType="{x:Type docking:Workspace}">
   <Setter Property="Background" Value="Red" />
</Style>

 

Almost works, except for the approx 5-10px margin around the DockSite.

[Modified 8 years ago]

Comments (1)

Posted 8 years ago by Chris Klepeis
Avatar

Looks like I solved it with:

 

<Style TargetType="{x:Type docking:DockHost}">
     <Setter Property="Background" Value="Red" />
</Style>

The latest build of this product (v24.1.1) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.