Поделиться через


Glyphs.StyleSimulations Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the style simulations applied to the glyphs.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Property StyleSimulations As StyleSimulations
public StyleSimulations StyleSimulations { get; set; }
<Glyphs StyleSimulation="styleSimulationsMemberName"/>

Property Value

Type: System.Windows.Media.StyleSimulations
One of the enumeration values that specifies the style simulations to apply to the glyphs. The default is None.

Remarks

Dependency property identifier field: StyleSimulationsProperty

Style simulations generally do not provide results that are comparable to specifying the appropriate bold or italic variant in a font family. Whenever possible, use a font that supports a bold or italic appearance and compose the Glyphs text using that font.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.