Table of Contents

Class TextColorExtensions

Namespace
Wpf.Ui.Extensions
Assembly
Wpf.Ui.dll

Extension that converts the text color type enumeration to the name of the resource that represents it.

public static class TextColorExtensions
Inheritance
TextColorExtensions
Inherited Members

Methods

ToResourceValue(TextColor)

Converts the text color type enumeration to the name of the resource that represents it.

public static string ToResourceValue(this TextColor textColor)

Parameters

textColor TextColor

Returns

string

Name of the resource matching the TextColor. ArgumentOutOfRangeException otherwise.