Class TextBlockFontTypographyExtensions
- Namespace
- Wpf.Ui.Extensions
- Assembly
- Wpf.Ui.dll
Extension that converts the typography type enumeration to the name of the resource that represents it.
public static class TextBlockFontTypographyExtensions
- Inheritance
-
TextBlockFontTypographyExtensions
- Inherited Members
Methods
ToResourceValue(FontTypography)
Converts the typography type enumeration to the name of the resource that represents it.
public static string ToResourceValue(this FontTypography typography)
Parameters
typography
FontTypography
Returns
- string
Name of the resource matching the FontTypography. ArgumentOutOfRangeException otherwise.