Typography.SetVariants Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Sets the value of the Variants attached property for a specified dependency object.
Namespace: System.Windows.Documents
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Shared Sub SetVariants ( _
element As DependencyObject, _
value As FontVariants _
)
public static void SetVariants(
DependencyObject element,
FontVariants value
)
Parameters
- element
Type: System.Windows.DependencyObject
The dependency object for which to set the value of the Variants property.
- value
Type: System.Windows.FontVariants
The new value to set the property to.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.