StaticResourceExtension Constructor (Object)

 

Initializes a new instance of the StaticResourceExtension class, with the provided initial key.

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

new : 
        resourceKey:Object -> StaticResourceExtension

Parameters

resourceKey
Type: System.Object

The key of the resource that this markup extension references.

Exception Condition
ArgumentNullException

resourceKey parameter is null, either through markup extension usage or explicit construction.

.NET Framework
Available since 3.0
Return to top
Show: