How to style the active files button?

Docking/MDI for WPF Forum

Posted 6 years ago by Austin Spears
Version: 13.1.0583
Avatar

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"/>
</Style>

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 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 6 years ago by Austin Spears
Avatar

Alright, many thanks for the info.

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.