Style keys and PresentationOptions:Freeze="True"

Docking/MDI for WPF Forum

Posted 5 years ago by Chris Carter
Version: 14.2.0611
Avatar

I think I need to change the values for TabbedMdiContainerTabItemBorderActiveSelectedBrushKey and TabbedMdiContainerTabItemBorderActiveFocusedBrushKey, but they are "frozen" in the style sources. I understand http://msdn.microsoft.com/en-us/library/aa970057.aspx as saying this means I can't set the key values. Does this mean I should be rewriting the style templates without this attribute, or is there a better way to approach this? And out of curiosity, what was the point of freezing anything in the first place?

Comments (1)

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

Hi Chris,

The freeze won't affect your ability to override a resource with one of your own that has the same name.  Freezing a resource isn't required but does help by improving its performance at run-time.  You can choose whether you wish to include that attribute in your own overrides.


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.