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

プロパティの新しい設定値。

例外

elementnullです。

適用対象

こちらもご覧ください