TextOptions.SetTextFormattingMode Метод

Определение

Задает объект TextFormattingMode для заданного элемента.

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)

Параметры

element
DependencyObject

Элемент, для которого нужно задать TextFormattingMode.

value
TextFormattingMode

TextFormattingMode, задаваемый в элементе element.

Исключения

element имеет значение null.

Применяется к

См. также раздел