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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.