TopLevelSetSystemBarColor Method
Helper for setting the color of the platform's system bars.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetSystemBarColor(
Control control,
SolidColorBrush? color
)
Public Shared Sub SetSystemBarColor (
control As Control,
color As SolidColorBrush
)
static member SetSystemBarColor :
control : Control *
color : SolidColorBrush -> unit
Parameters
- control Control
- The main view attached to the toplevel, or the toplevel.
- color SolidColorBrush
- The color to set.