Width Property
Gets the width of a line of text, excluding trailing whitespace characters.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public double Width { get; init; }
Public Property Width As Double
Get
Set
member Width : float with get, set
Property Value
DoubleSee Also
Reference
TextLineMetrics Structure
Avalonia.Media.TextFormatting Namespace