DynamicResourceExtension.ResourceKey Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the key specified by this dynamic resource reference. The key is used to lookup a resource in resource dictionaries, by means of an intermediate expression.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public object ResourceKey { get; set; }

Property Value

Type: System.Object

The resource key that this dynamic resource reference specifies.

The key is not strongly typed, but is usually provided as either a string, a Type, or a ResourceKey derived class.

.NET Framework
Available since 3.0
Return to top