TextOptions Class
Definition
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.
Defines a set of attached properties that affect the way text is displayed in an element.
public ref class TextOptions abstract sealed
public static class TextOptions
type TextOptions = class
Public Class TextOptions
- Inheritance
-
TextOptions
Fields
TextFormattingModeProperty |
Identifies the TextFormattingMode attached property. |
TextHintingModeProperty |
Identifies the TextHintingMode attached property. |
TextRenderingModeProperty |
Identifies the TextRenderingMode attached property. |
Attached Properties
TextFormattingMode |
Gets the TextFormattingMode for the element. This is an attached property. |
TextHintingMode |
Gets the TextHintingMode for the element. This is an attached property. |
TextRenderingMode |
Sets the TextRenderingMode for the element. This is an attached property. |
Methods
GetTextFormattingMode(DependencyObject) |
Gets the TextFormattingMode for the specified element. |
GetTextHintingMode(DependencyObject) |
Gets the TextHintingMode for the specified element. |
GetTextRenderingMode(DependencyObject) |
Gets the TextRenderingMode for the specified element. |
SetTextFormattingMode(DependencyObject, TextFormattingMode) |
Sets the TextFormattingMode for the specified element. |
SetTextHintingMode(DependencyObject, TextHintingMode) |
Sets the TextHintingMode for the specified element. |
SetTextRenderingMode(DependencyObject, TextRenderingMode) |
Sets the TextRenderingMode for the specified element. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈