In This Article

ResourceKeyExtensions Class

Provides extension methods for the various resource key types.

public static class ResourceKeyExtensions
Inheritance:
object object

Methods

ToResourceKey(ControlThemeKind)

Converts the specified ControlThemeKind enum value to the related full string resource key.

public static string ToResourceKey(this ControlThemeKind resourceKind)
Parameter Type Description
resourceKind ControlThemeKind

The ControlThemeKind value to examine.

Returns

string:

The related full string resource key, which is the name of the enum value, prepended by a prefix string.

ToResourceKey(GlyphTemplateKind)

Converts the specified GlyphTemplateKind enum value to the related full string resource key.

public static string ToResourceKey(this GlyphTemplateKind resourceKind)
Parameter Type Description
resourceKind GlyphTemplateKind

The GlyphTemplateKind value to examine.

Returns

string:

The related full string resource key, which is the name of the enum value, prepended by a prefix string.

ToResourceKey(ThemeResourceKind)

Converts the specified ThemeResourceKind enum value to the related full string resource key.

public static string ToResourceKey(this ThemeResourceKind resourceKind)
Parameter Type Description
resourceKind ThemeResourceKind

The ThemeResourceKind value to examine.

Returns

string:

The related full string resource key, which is the name of the enum value, prepended by a prefix string.

Inherited Members