Skip to content

TextBlockFontTypographyExtensions.ToResourceValue(FontTypography) method

Defined in

Type: TextBlockFontTypographyExtensions Namespace: CrissCross.WPF.UI.Extensions Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static string ToResourceValue(this FontTypography typography)

Summary: Converts the typography type enumeration to the name of the resource that represents it.

Parameters

NameTypeDescription
typography[FontTypography](#The typography.

Returns: string -- Name of the resource matching the FontTypography. ArgumentOutOfRangeException otherwise.