Class TextOptions
Inheritance
System.Object
TextOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public static class TextOptions
Fields
| Improve this Doc View SourceTextFormattingModeProperty
Text formatting mode Property
Declaration
[NotImplemented]
public static readonly DependencyProperty TextFormattingModeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TextHintingModeProperty
Text hinting property
Declaration
[NotImplemented]
public static readonly DependencyProperty TextHintingModeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TextRenderingModeProperty
Text rendering Property
Declaration
[NotImplemented]
public static readonly DependencyProperty TextRenderingModeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Methods
| Improve this Doc View SourceGetTextFormattingMode(FrameworkElement)
Gets the System.Windows.Media.TextFormattingMode for the specified FrameworkElement.
Declaration
[NotImplemented]
public static TextFormattingMode GetTextFormattingMode(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element |
Returns
Type | Description |
---|---|
TextFormattingMode |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |
GetTextHintingMode(FrameworkElement)
Gets the System.Windows.Media.TextHintingMode for this FrameworkElement.
Declaration
[NotImplemented]
public static TextHintingMode GetTextHintingMode(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element |
Returns
Type | Description |
---|---|
TextHintingMode |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |
GetTextRenderingMode(FrameworkElement)
Gets the System.Windows.Media.TextRenderingMode for the specified FrameworkElement.
Declaration
[NotImplemented]
public static TextRenderingMode GetTextRenderingMode(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element |
Returns
Type | Description |
---|---|
TextRenderingMode |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |
SetTextFormattingMode(FrameworkElement, TextFormattingMode)
Sets the TextFormattingMode for the specified FrameworkElement.
Declaration
[NotImplemented]
public static void SetTextFormattingMode(FrameworkElement element, TextFormattingMode value)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element | |
TextFormattingMode | value |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |
SetTextHintingMode(FrameworkElement, TextHintingMode)
Sets the TextHintingMode for this FrameworkElement.
Declaration
[NotImplemented]
public static void SetTextHintingMode(FrameworkElement element, TextHintingMode value)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element | |
TextHintingMode | value |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |
SetTextRenderingMode(FrameworkElement, TextRenderingMode)
Sets the TextRenderingMode for this FrameworkElement.
Declaration
[NotImplemented]
public static void SetTextRenderingMode(FrameworkElement element, TextRenderingMode value)
Parameters
Type | Name | Description |
---|---|---|
FrameworkElement | element | |
TextRenderingMode | value |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The element is null. |