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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for