Επεξεργασία

Κοινή χρήση μέσω


StaticResourceExtension Constructors

Definition

Initializes a new instance of the StaticResourceExtension class.

Overloads

StaticResourceExtension()

Initializes a new instance of the StaticResourceExtension class.

StaticResourceExtension(Object)

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

StaticResourceExtension()

Initializes a new instance of the StaticResourceExtension class.

public:
 StaticResourceExtension();
public StaticResourceExtension ();
Public Sub New ()

Applies to

StaticResourceExtension(Object)

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

public:
 StaticResourceExtension(System::Object ^ resourceKey);
public StaticResourceExtension (object resourceKey);
new System.Windows.StaticResourceExtension : obj -> System.Windows.StaticResourceExtension
Public Sub New (resourceKey As Object)

Parameters

resourceKey
Object

The key of the resource that this markup extension references.

Exceptions

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

Applies to