OnGettingValue Method

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 Overridable Sub OnGettingValue (
	key As Object,
	ByRef value As Object,
	<OutAttribute> ByRef canCache As Boolean
)

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