Skip to main content

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)

public abstract double Width { get; }
View Source

Return Value

Double
The text line width, excluding trailing whitespace characters.

See Also

Reference

TextLine Class
Avalonia.Media.TextFormatting Namespace