How to style the active files button?

Docking/MDI for WPF Forum

Posted 11 years ago by Austin Spears
Version: 13.1.0583

Hey guys,


I have a docksite with a white background and a style for documentwindows that looks like this:


<Style TargetType="{x:Type docking:DocumentWindow}">
<Setter Property="TabTintColor" Value="Gray"/>
<Setter Property="TabForeground" Value="Black"/>
<Setter Property="BorderBrush" Value="White"></Setter>
<Setter Property="KeyboardNavigation.TabNavigation" Value="Continue"/>
<Setter Property="IsTabStop" Value="True"/>

Unfortunately with this gray on white scheme the little down arrow "active files" button becomes hidden, because it's default color is white.  I was wondering which property would allow me to render this button in gray?

Comments (2)

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

Hi Austin,

The active files button in the TabbedMdiContainers is a shared:PopupButton that is set to use the Style defined by this x:Key:

{DynamicResource {x:Static themes:SharedResourceKeys.EmbeddedPopupButtonOverrideStyleKey}}

You could clone that style and redefine it in your app's Resources to alter its look if you'd like.

Actipro Software Support

Posted 11 years ago by Austin Spears

Alright, many thanks for the info.

The latest build of this product (v24.1.2) 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.