TextElementGetForeground Method

Gets the value of the attached ForegroundProperty on a control.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static IBrush? GetForeground(
	Control control
)

Parameters

control  Control
The control.

Return Value

IBrush
The foreground.

See Also