Bagikan melalui


Shell.GetBackgroundColor(BindableObject) Method

Definition

Gets the background color in the Shell chrome.

public:
 static Microsoft::Maui::Graphics::Color ^ GetBackgroundColor(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Graphics.Color GetBackgroundColor (Microsoft.Maui.Controls.BindableObject obj);
static member GetBackgroundColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Shared Function GetBackgroundColor (obj As BindableObject) As Color

Parameters

obj
BindableObject

The object to which the background color is set.

Returns

The background color from the Shell chrome.

Applies to