Język

TextOptions.SetTextFormattingMode Metoda

Definicja

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.

Dotyczy

Zobacz też