Skip to main content

TextCollapsingProperties Class

Properties of text collapsing.

Definition

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

public abstract class TextCollapsingProperties
View Source
InheritanceObject → TextCollapsingProperties
DerivedAvalonia.Media.TextFormatting.TextLeadingPrefixCharacterEllipsis
Avalonia.Media.TextFormatting.TextTrailingCharacterEllipsis
Avalonia.Media.TextFormatting.TextTrailingWordEllipsis

Constructors

TextCollapsingProperties()Initializes a new instance of the TextCollapsingProperties class

Properties

FlowDirectionGets the flow direction that is used for collapsing.
SymbolGets the text run that is used as collapsing symbol.
WidthGets the width in which the collapsible range is constrained to.

Methods

Collapse(TextLine)Collapses given text line.
CreateCollapsedRuns(TextLine, Int32, FlowDirection, TextRun)Creates a list of runs for given collapsed length which includes specified symbol at the end.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Media.TextFormatting Namespace