Shell.GetBackgroundColor(BindableObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.