Language

Shell.SetBackground(BindableObject, Brush) Method

Definition

Sets the background brush for the Shell toolbar.

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

Parameters

obj
BindableObject

The object on which to set the background brush.

value
Brush

The brush to use as the Shell toolbar background.

Applies to