TextOptions.GetTextFormattingMode(DependencyObject) Method

Definition

Gets the TextFormattingMode for the specified element.

public:
 static System::Windows::Media::TextFormattingMode GetTextFormattingMode(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.TextFormattingMode GetTextFormattingMode (System.Windows.DependencyObject element);
static member GetTextFormattingMode : System.Windows.DependencyObject -> System.Windows.Media.TextFormattingMode
Public Shared Function GetTextFormattingMode (element As DependencyObject) As TextFormattingMode

Parameters

element
DependencyObject

The element to get the TextFormattingMode for.

Returns

The TextFormattingMode for element.

Applies to

See also