StaticResourceExtension.ResourceKey Property


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

Gets or sets the key value passed by this static resource reference. They key is used to return the object matching that key in resource dictionaries.

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

Public Property ResourceKey As Object

Property Value

Type: System.Object

The resource key for a resource.

Exception Condition

Specified value as null, either through markup extension usage or explicit construction.

.NET Framework
Available since 3.0
Return to top