StaticResourceExtension.ResourceKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the key value passed by this static resource reference. They key is used to return the object matching that key in resource dictionaries.
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 for a resource.
Exceptions
Specified value as null
, either through markup extension usage or explicit construction.
Remarks
For XAML usage information, see StaticResource Markup Extension.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.