Foreground Property
Gets or sets the brush used to draw the control's text and other foreground elements.
Definition
Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public IBrush? Foreground { get; set; }
Public Property Foreground As IBrush
Get
Set
member Foreground : IBrush with get, set
Property Value
IBrushSee Also
Reference
TemplatedControl Class
Avalonia.Controls.Primitives Namespace