SetForeground Method
Sets the value of the attached ForegroundProperty on a control.
Definition
Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static void SetForeground(
Control control,
IBrush? value
)
Public Shared Sub SetForeground (
control As Control,
value As IBrush
)
static member SetForeground :
control : Control *
value : IBrush -> unit