StaticResourceResolvedEventArgs.ResourceKey Property

Definition

The key for the requested resource.

public:
 property System::Object ^ ResourceKey { System::Object ^ get(); };
public object ResourceKey { get; }
member this.ResourceKey : obj
Public ReadOnly Property ResourceKey As Object

Property Value

The key for the requested resource.

Remarks

The key is initially assigned by the x:Key directive if the resource is created in markup, or it's provided as the key parameter when calling the System.Windows.ResourceDictionary.Add method if the resource is created in code.

Applies to