StaticResourceExtension Constructor (Object)
Collapse the table of content
Expand the table of content

StaticResourceExtension Constructor (Object)

 

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

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

public StaticResourceExtension(
	object resourceKey
)

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:
© 2016 Microsoft