TextOptions.SetTextFormattingMode Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
TextFormattingMode Ustawia element dla określonego elementu.
public:
static void SetTextFormattingMode(System::Windows::DependencyObject ^ element, System::Windows::Media::TextFormattingMode value);
public static void SetTextFormattingMode(System.Windows.DependencyObject element, System.Windows.Media.TextFormattingMode value);
static member SetTextFormattingMode : System.Windows.DependencyObject * System.Windows.Media.TextFormattingMode -> unit
Public Shared Sub SetTextFormattingMode (element As DependencyObject, value As TextFormattingMode)
Parametry
- element
- DependencyObject
Element do ustawienia TextFormattingMode elementu for.
- value
- TextFormattingMode
Wartość TextFormattingMode do ustawienia na .element
Wyjątki
Parametr element ma wartość null.