Espandi Riduci a icona
Questo argomento non è stato ancora valutato - Valuta questo argomento

Metodo Typography.SetVariants

Sets the value of the Variants attached property for a specified dependency object.

Spazio dei nomi: System.Windows.Documents
Assembly: PresentationFramework (in presentationframework.dll)

public static void SetVariants (
	DependencyObject element,
	FontVariants value
)
public static void SetVariants (
	DependencyObject element, 
	FontVariants value
)
public static function SetVariants (
	element : DependencyObject, 
	value : FontVariants
)
Non è possibile utilizzare metodi in XAML.

Parametri

element

The dependency object for which to set the value of the Variants property.

value

The new value to set the property to.

Tipo di eccezioneCondizione

ArgumentNullException

Raised when element is riferimento null (Nothing in Visual Basic).

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:
Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
© 2013 Microsoft. Tutti i diritti riservati.