Skip to main content

TextLeadingPrefixCharacterEllipsis Class

Ellipsis based on a fixed length leading prefix and suffix growing from the end at character granularity.

Definition

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

public sealed class TextLeadingPrefixCharacterEllipsis : TextCollapsingProperties
View Source
InheritanceObjectTextCollapsingProperties → TextLeadingPrefixCharacterEllipsis

Constructors

TextLeadingPrefixCharacterEllipsis(String, Int32, 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