Skip to main content

GetSystemBarColor Method

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

Definition​

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

public static SolidColorBrush? GetSystemBarColor(
Control control
)

Parameters​

  Control
The main view attached to the toplevel, or the toplevel.

Return Value​

SolidColorBrush
The current color of the platform's system bars.

See Also​

Reference​

TopLevel Class
Avalonia.Controls Namespace