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.
Inherited Members
- ResourceKeyExtensionBase<ControlThemeKind>.ProvideValue(IServiceProvider)
- ResourceKeyExtensionBase<ControlThemeKind>.ResourceKind
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()