[]
Propagates Language, FlowDirection and Theme properties from the parent control to the dialog window.
public static void PropagatePropertiesToDialog(this FrameworkElement parentControl, FrameworkElement window, ResourceDictionary theme = null)
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. |