TextBlock.SetFontStretch(DependencyObject, FontStretch) Метод

Определение

Задает значение присоединенного свойства FontStretch для указанного объекта зависимости.

public:
 static void SetFontStretch(System::Windows::DependencyObject ^ element, System::Windows::FontStretch value);
public static void SetFontStretch (System.Windows.DependencyObject element, System.Windows.FontStretch value);
static member SetFontStretch : System.Windows.DependencyObject * System.Windows.FontStretch -> unit
Public Shared Sub SetFontStretch (element As DependencyObject, value As FontStretch)

Параметры

element
DependencyObject

Объект зависимости, для которого требуется задать значение свойства FontStretch.

value
FontStretch

Новое значение, которое необходимо присвоить свойству.

Исключения

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

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

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