Windows.UI.Text Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides support for working with textual content.
Equivalent WinUI namespace: Microsoft.UI.Text.
Classes
ContentLinkInfo |
Represents information about a ContentLink. |
FontWeights |
Provides a set of predefined font weights as static property values. Equivalent WinUI class: Microsoft.UI.Text.FontWeights. |
RichEditTextDocument |
Represents a rich text document that can be loaded, saved, and edited. Equivalent WinUI class: Microsoft.UI.Text.RichEditTextDocument. |
RichEditTextRange |
Represents a span of continuous text in a RichEditTextDocument, and provides editing and data-binding properties and methods that allow an app to select, examine, and change document content. Equivalent WinUI class: Microsoft.UI.Text.RichEditTextRange. |
TextConstants |
Defines a set of constants that are used with various methods in the Windows.UI.Text namespace. Equivalent WinUI class: Microsoft.UI.Text.TextConstants. |
Structs
FontWeight |
Describes the density of a typeface, in terms of the lightness or heaviness of the strokes. |
Interfaces
ITextCharacterFormat |
Defines the default character formatting attributes of a document, or the current character formatting attributes of a text range. Equivalent WinUI interface: Microsoft.UI.Text.ITextCharacterFormat. |
ITextDocument |
Provides access to the content of a document, providing a way to load and save the document to a stream, retrieve text ranges, get the active selection, set default formatting attributes, and so on. |
ITextParagraphFormat |
Defines the default paragraph formatting attributes of a document, or the current paragraph formatting attributes of a text range. Equivalent WinUI interface: Microsoft.UI.Text.ITextParagraphFormat. |
ITextRange |
Represents a span of continuous text in a document, and provides powerful editing and data-binding properties and methods that allow an app to select, examine, and change document text. Equivalent WinUI interface: Microsoft.UI.Text.ITextRange. |
ITextSelection |
Represents the currently selected text of a document. Equivalent WinUI interface: Microsoft.UI.Text.ITextSelection. |
Enums
CaretType |
Specifies the caret type. Equivalent WinUI enum: CaretType. |
FindOptions |
Specifies the options to use when doing a text search. Equivalent WinUI enum: FindOptions. |
FontStretch |
Describes the degree to which a font has been stretched, compared to the normal aspect ratio of that font. |
FontStyle |
Represents the style of a font face (for example, normal or italic). |
FormatEffect |
Defines values that indicate the state of a character or paragraph formatting property. Equivalent WinUI enum: FormatEffect. |
HorizontalCharacterAlignment |
Specifies the horizontal position of a character relative to a bounding rectangle. Equivalent WinUI enum: HorizontalCharacterAlignment. |
LetterCase |
Represents the character case formatting. Equivalent WinUI enum: LetterCase. |
LineSpacingRule |
Specifies options for line-spacing rules. Equivalent WinUI enum: LineSpacingRule. |
LinkType |
Indicates the link type of a range of text. Equivalent WinUI enum: LinkType. |
MarkerAlignment |
Defines bullet and numbering alignment. Equivalent WinUI enum: MarkerAlignment. |
MarkerStyle |
Specifies the style used to mark the item paragraphs in a list. Equivalent WinUI enum: MarkerStyle. |
MarkerType |
Specifies the kind of characters used to mark the item paragraphs in a list. Equivalent WinUI enum: MarkerType. |
ParagraphAlignment |
Specifies values for aligning paragraphs. Equivalent WinUI enum: ParagraphAlignment. |
ParagraphStyle |
Specifies the paragraph style. Equivalent WinUI enum: ParagraphStyle. |
PointOptions |
Defines options for specifying or retrieving a point. Equivalent WinUI enum: PointOptions. |
RangeGravity |
Specifies the gravity for a text range. Equivalent WinUI enum: RangeGravity. |
RichEditMathMode |
Defines constants that specify whether a RichEditBox interprets input as math (MathML) or text. Important The math mode APIs are a limited access feature. Please contact richeditmathml@microsoft.com for more info, or to request an unlock token. Equivalent WinUI enum: Microsoft.UI.Text.RichEditMathMode. |
SelectionOptions |
Describes the options that apply to a selection. Equivalent WinUI enum: SelectionOptions. |
SelectionType |
Specifies the type of a selection. Equivalent WinUI enum: SelectionType. |
TabAlignment |
Alignment options for tab positions. Equivalent WinUI enum: TabAlignment. |
TabLeader |
The character that is used to fill the space taken by a tab character. Equivalent WinUI enum: TabLeader. |
TextDecorations |
Defines constants that specify the decorations applied to text. |
TextGetOptions |
Specifies options for retrieving the text in a document or text range. Equivalent WinUI enum: TextGetOptions. |
TextRangeUnit |
Specifies the units to use when navigating a text range. Equivalent WinUI enum: TextRangeUnit. |
TextScript |
Specifies the character repertoire for a run of character formatting. |
TextSetOptions |
Specifies options for setting the text in a text range. Equivalent WinUI enum: TextSetOptions. |
UnderlineType |
Specifies the type of character underlining. Equivalent WinUI enum: UnderlineType. |
VerticalCharacterAlignment |
Specifies the vertical position of a character relative to a bounding rectangle. Equivalent WinUI enum: VerticalCharacterAlignment. |
Feedback
Submit and view feedback for