Skip to main content

TextTrailingWordEllipsis Class

a collapsing properties to collapse whole line toward the end at word granularity.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public sealed class TextTrailingWordEllipsis : TextCollapsingProperties
View Source
InheritanceObjectTextCollapsingProperties → TextTrailingWordEllipsis

Constructors

TextTrailingWordEllipsis(String, Double, TextRunProperties, FlowDirection)Construct a text trailing word ellipsis collapsing properties.

Properties

FlowDirection
(Overrides TextCollapsingProperties.FlowDirection)
SymbolGets the text run that is used as collapsing symbol.
(Overrides TextCollapsingProperties.Symbol)
WidthGets the width in which the collapsible range is constrained to.
(Overrides TextCollapsingProperties.Width)

Methods

Collapse(TextLine)Collapses given text line.
(Overrides TextCollapsingProperties.Collapse(TextLine))
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace