In This Article

GlyphTemplateExtension Class

A markup extension that converts the specified GlyphTemplateKind enum value to a dynamic resource binding for the related resource value.

public class GlyphTemplateExtension : GlyphTemplateKeyExtension
Inheritance:
object ResourceKeyExtensionBase<GlyphTemplateKind> GlyphTemplateKeyExtension object

Constructors

GlyphTemplateExtension()

Initializes an instance of the class.

public GlyphTemplateExtension()

GlyphTemplateExtension(GlyphTemplateKind)

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

public GlyphTemplateExtension(GlyphTemplateKind resourceKind)
Parameter Type Description
resourceKind GlyphTemplateKind

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

Methods

ProvideValue(IServiceProvider)

Returns the resource key for the ResourceKind.

public override object? ProvideValue(IServiceProvider serviceProvider)
Parameter Type Description
serviceProvider IServiceProvider

An object that can provide services for the markup extension.

Returns

object

Inherited Members

Extension Methods