Skip to main content

SetSystemBarColor Method

Helper for setting the color of the platform's system bars.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static void SetSystemBarColor(
Control control,
SolidColorBrush? color
)

Parameters​

  Control
The main view attached to the toplevel, or the toplevel.
  SolidColorBrush
The color to set.

See Also​

Reference​

TopLevel Class
Avalonia.Controls Namespace