StyleManager.IsAutoMerge Attached Property

DevZest WPF Docking

StyleManagerIsAutoMerge Attached Property
Gets or sets the value that indicates whether merge the default style change automatically.

Namespace: DevZest.Windows
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
See GetIsAutoMerge, SetIsAutoMerge
See GetIsAutoMerge, SetIsAutoMerge

Property Value

Type: Boolean
if automatically merge the default style change, otherwise .
Remarks

You can use IsAutoMerge attached property to automatically merge the default style change. The following XAML defines a style based on the dynamic default style:

XAML
<Style TargetType=x:TypeMenuItem}>
  ...
  <Setter Property="StyleManager.IsAutoMerge" Value="True" />
  ...
</Style>

This is equivalent to the following unsupported XAML (only static resource is allowed on Style.BasedOn):

XAML
<Style BasedOn="{DynamicResource {x:Type MenuItem}}">
  ...
</Style>
See Also