In This Article

ControlThemeKeyExtension Class

A markup extension that converts the specified ControlThemeKind enum value to the related full string resource key.

public class ControlThemeKeyExtension : ResourceKeyExtensionBase<ControlThemeKind>
Inheritance:
object ResourceKeyExtensionBase<ControlThemeKind> object
Derived:
ControlThemeExtension

Constructors

ControlThemeKeyExtension()

Initializes an instance of the class.

public ControlThemeKeyExtension()

ControlThemeKeyExtension(ControlThemeKind)

Initializes an instance of the class, using the specified enum value.

public ControlThemeKeyExtension(ControlThemeKind resourceKind)
Parameter Type Description
resourceKind ControlThemeKind

The enum value for which a resource key will be returned.

Methods

GetResourceKey()

Returns the resource key for the ResourceKind.

protected override string GetResourceKey()

Returns

string:

The resource key.

Inherited Members

Extension Methods