TextBlock.GetFontStretch(DependencyObject) Metodo

Definizione

Restituisce il valore della proprietà associata FontStretch relativa a un oggetto dipendenza specificato.

public:
 static System::Windows::FontStretch GetFontStretch(System::Windows::DependencyObject ^ element);
public static System.Windows.FontStretch GetFontStretch (System.Windows.DependencyObject element);
static member GetFontStretch : System.Windows.DependencyObject -> System.Windows.FontStretch
Public Shared Function GetFontStretch (element As DependencyObject) As FontStretch

Parametri

element
DependencyObject

Oggetto dipendenza da cui recuperare il valore della proprietà associata FontStretch.

Restituisce

Valore corrente della proprietà associata FontStretch per l'oggetto dipendenza specificato.

Eccezioni

element è null.

Si applica a

Vedi anche