Redigera

Dela via


DynamicResourceExtension.ResourceKey Property

Definition

Gets or sets the key specified by this dynamic resource reference. The key is used to lookup a resource in resource dictionaries, by means of an intermediate expression.

public:
 property System::Object ^ ResourceKey { System::Object ^ get(); void set(System::Object ^ value); };
public object ResourceKey { get; set; }
member this.ResourceKey : obj with get, set
Public Property ResourceKey As Object

Property Value

The resource key that this dynamic resource reference specifies.

Remarks

The key is not strongly typed, but is usually provided as either a string, a Type, or a ResourceKey derived class.

XAML Text Usage

For XAML information, see DynamicResource Markup Extension.

Applies to