TextBlock.SetFontStretch(DependencyObject, FontStretch) Metoda

Definicja

Ustawia wartość dołączonej FontStretch właściwości dla określonego obiektu zależności.

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)

Parametry

element
DependencyObject

Obiekt zależności, na którym należy ustawić wartość FontStretch właściwości.

value
FontStretch

Nowa wartość, na która ma być ustawiona właściwość .

Wyjątki

element to null.

Dotyczy

Zobacz też