Redigera

Dela via


DynamicResourceExtension Constructors

Definition

Initializes a new instance of the DynamicResourceExtension class.

Overloads

DynamicResourceExtension()

Initializes a new instance of the DynamicResourceExtension class.

DynamicResourceExtension(Object)

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

DynamicResourceExtension()

Initializes a new instance of the DynamicResourceExtension class.

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

Applies to

DynamicResourceExtension(Object)

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

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

Parameters

resourceKey
Object

The key of the resource that this markup extension references.

Remarks

This constructor is used by XAML processors when processing the attribute syntax for the DynamicResource Markup Extension.

Applies to