StaticResourceExtension.ResourceKey Property

 

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)

member ResourceKey : Object with get, set

Property Value

Type: System.Object

The resource key for a resource.

Exception Condition
ArgumentNullException

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

.NET Framework
Available since 3.0
Return to top
Show: