Style keys and PresentationOptions:Freeze="True"

Docking/MDI for WPF Forum

Posted 10 years ago by Chris Carter
Version: 14.2.0611

I think I need to change the values for TabbedMdiContainerTabItemBorderActiveSelectedBrushKey and TabbedMdiContainerTabItemBorderActiveFocusedBrushKey, but they are "frozen" in the style sources. I understand 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 10 years ago by Actipro Software Support - Cleveland, OH, USA

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 (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.