ResourceDictionary::OnGettingValue Method (Object^, Object^%, Boolean%)

.NET Framework (current version)
 

Occurs when the ResourceDictionary receives a request for a resource.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnGettingValue(
	Object^ key,
	Object^% value,
	[OutAttribute] bool% canCache
)

Parameters

key
Type: System::Object^

The key of the resource to get.

value
Type: System::Object^%

The value of the requested resource.

canCache
Type: System::Boolean%

true if the resource can be saved and used later; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: