TextElementSetForeground Method

Sets 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 void SetForeground(
	Control control,
	IBrush? value
)

Parameters

control  Control
The control.
value  IBrush
The property value to set.

See Also