Shell.SetBackgroundColor(BindableObject, Color) 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.
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
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.