Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.46 KB

backdropmaterial_setapplytorootorpagebackground_816395559.md

File metadata and controls

36 lines (21 loc) · 1.46 KB
-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)

-description

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).

-parameters

-param element

The object to which the property value is written.

-param value

The value to set.

-remarks

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.

-see-also

BackdropMaterial, BackdropMaterial.ApplyToRootOrPageBackground

-examples