Shell.SetBackground(BindableObject, Brush) 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 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.