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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應