CachedResourceDictionaryExtension.ProvideValue Method (IServiceProvider)

.NET Framework (current version)
 

Returns an object that is set as the value of the target property for this markup extension.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public override object ProvideValue(
	IServiceProvider serviceProvider
)

Parameters

serviceProvider
Type: System.IServiceProvider

An IServiceProvider object that can provide services for the markup extension.

Return Value

Type: System.Object

The Object value to set on the property where the extension is applied.

  The ProvideValue method of each extension can use an IServiceProvider object at run time that can provide context.

.NET Framework
Available since 4.0
Return to top
Show: