[]
        
(Showing Draft Content)

C1.WPF.Core.ThemeExtensions.PropagatePropertiesToDialog

PropagatePropertiesToDialog Method

PropagatePropertiesToDialog(FrameworkElement, FrameworkElement, ResourceDictionary)

Propagates Language, FlowDirection and Theme properties from the parent control to the dialog window.

Declaration
public static void PropagatePropertiesToDialog(this FrameworkElement parentControl, FrameworkElement window, ResourceDictionary theme = null)
Parameters
Type Name Description
FrameworkElement parentControl

The FrameworkElement instance to copy properties from.

FrameworkElement window

The FrameworkElement instance to apply properties to.

ResourceDictionary theme

The ResourceDictionary object which contains theme resources.