Referring to Themes

Docking/MDI for WPF Forum

Posted 7 years ago by Steven Cavanagh
Version: 12.1.0560
Avatar

Hi guys,

 

Just upgraded from 3.5 to 4. My old code had:

 

Fill="{DynamicResource {x:Static themes:DockingCommonDictionary.TabbedMdiContainerButtonForegroundNormalBrushKey}}"

 

But now it can't find DockingCommonDictionary. Where has it been moved to?

Comments (3)

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

Hi Steven,

As of our major theming unification redesign in 2011.2, all brushes are now unified in the ActiproSoftware.Windows.Themes.AssetResourceKeys class instead of classes like DockingCommonDictionary.


Actipro Software Support

Posted 7 years ago by Alex Dunbar
Avatar

Not everything seems to have found its way into AssetResourceKeys.

Where is DockingCommonDictionary.DockSiteBackgroundBrushKey?

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

Hi Alex,

If you're trying to use what is the default background for DockSite, then the new name is AssetResourceKeys.WorkspaceVeryDarkBackgroundNormalBrushKey.


Actipro Software Support

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