Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2016 Microsoft