DevZest WPF Docking
StyleManager Class |
Manages style of elements.
Inheritance Hierarchy
Namespace: DevZest.Windows
Assembly: DevZest.WpfDocking (in DevZest.WpfDocking.dll) Version: 2.5.0.0 (2.5.5912.0)
Syntax
The StyleManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetIsAutoMerge | Gets the value of IsAutoMerge attached property
from a given DependencyObject. | |
SetIsAutoMerge | Sets the value of IsAutoMerge attached property
to a given DependencyObject. |
Fields
Name | Description | |
---|---|---|
IsAutoMergeProperty | Identifies the IsAutoMerge attached property. |
Attached Properties
Name | Description | |
---|---|---|
IsAutoMerge | Gets or sets the value that indicates whether merge the default style change automatically. |
Remarks
This class provides 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