Shell.SetBackgroundColor(BindableObject, Color) Method

Definition

Sets the background color in the Shell chrome. The color won't fill in behind the Shell content.

public:
 static void SetBackgroundColor(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Graphics::Color ^ value);
public static void SetBackgroundColor (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Graphics.Color value);
static member SetBackgroundColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Shared Sub SetBackgroundColor (obj As BindableObject, value As Color)

Parameters

obj
BindableObject

The object to which the background color is set.

value
Color

The background color for the Shell chrome.

Applies to