Show / Hide Table of Contents

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 Source

TextFormattingModeProperty

Text formatting mode Property

Declaration
[NotImplemented]
public static readonly DependencyProperty TextFormattingModeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TextHintingModeProperty

Text hinting property

Declaration
[NotImplemented]
public static readonly DependencyProperty TextHintingModeProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TextRenderingModeProperty

Text rendering Property

Declaration
[NotImplemented]
public static readonly DependencyProperty TextRenderingModeProperty
Field Value
Type Description
DependencyProperty

Methods

| Improve this Doc View Source

GetTextFormattingMode(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source