Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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


Type: System.Object

The key of the resource that this markup extension references.


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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft