TextBlock.

GetForeground(Control) Method

Summary

Gets the value of the attached ForegroundProperty on a control.
Namespace
Avalonia.Controls
Containing Type
TextBlock

Syntax

public static IBrush GetForeground(Control control)

Parameters

Name Type Description
control Control The control.

Return Value

Type Description
IBrush The foreground.