TopLevelGetSystemBarColor Method

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

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static SolidColorBrush? GetSystemBarColor(
	Control control
)

Parameters

control  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