Share via


BackdropMaterial.GetApplyToRootOrPageBackground(Control) Method

Definition

Gets the value of the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property for the target element.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 static bool GetApplyToRootOrPageBackground(Control ^ element);
 static bool GetApplyToRootOrPageBackground(Control const& element);
public static bool GetApplyToRootOrPageBackground(Control element);
Public Shared Function GetApplyToRootOrPageBackground (element As Control) As Boolean

Parameters

element
Control

The object from which the property value is read.

Returns

Boolean

bool

The BackdropMaterial.ApplyToRootOrPageBackground XAML attached property value of the requested object.

Applies to

See also