SlashedZero Attached Property
Collapse the table of content
Expand the table of content

Typography.SlashedZero Attached Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.

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

'Declaration
See GetSlashedZero, SetSlashedZero

Property Value

Type: System.Boolean
true if slashed zero forms are enabled; otherwise, false. The default value is false.

This property gets or sets a value on the object that owns a Typography property, which is the only way to access a Typography class instance. In addition, this property supports an attached property usage so that it can be set on text-containing objects in XAML.

OpenType fonts support a slashed zero numeral format to emphasize the difference between the letter "O" and the numeral "0". The slashed zero numeral is often used for identifiers in financial and business information.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft