ResourceDictionary.OnGettingValue(Object, Object, Boolean) Method
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.
Occurs when the ResourceDictionary receives a request for a resource.
protected:
virtual void OnGettingValue(System::Object ^ key, System::Object ^ % value, [Runtime::InteropServices::Out] bool % canCache);
protected virtual void OnGettingValue (object key, ref object value, out bool canCache);
abstract member OnGettingValue : obj * obj * bool -> unit
override this.OnGettingValue : obj * obj * bool -> unit
Protected Overridable Sub OnGettingValue (key As Object, ByRef value As Object, ByRef canCache As Boolean)
Parameters
- key
- Object
The key of the resource to get.
- value
- Object
The value of the requested resource.
- canCache
- Boolean
true
if the resource can be saved and used later; otherwise, false
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.