Typography.SetVariants(DependencyObject, FontVariants) Metodo

Definizione

Imposta il valore della proprietà associata Variants per un oggetto dipendenza specificato.

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

Parametri

element
DependencyObject

Oggetto dipendenza per cui impostare il valore della proprietà Variants.

value
FontVariants

Nuovo valore su cui impostare la proprietà.

Eccezioni

Generato quando element è null.

Si applica a

Vedi anche