-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Controls.BackdropMaterial.SetApplyToRootOrPageBackground(Windows.UI.Xaml.Controls.Control,System.Boolean) |
winrt method |
Microsoft.UI.Xaml.Controls.BackdropMaterial.SetApplyToRootOrPageBackground(Windows.UI.Xaml.Controls.Control,System.Boolean)
Sets the value of the BackdropMaterial.ApplyToRootOrPageBackground
XAML attached property for a target element.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
The object to which the property value is written.
The value to set.
This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property in XAML and won't need this method. For more info, see the BackdropMaterial.ApplyToRootOrPageBackground attached property.
BackdropMaterial, BackdropMaterial.ApplyToRootOrPageBackground