TemplateBindingExtension.ProvideValue Method (IServiceProvider)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an object that should be set as the value on the target object's property for this markup extension. For TemplateBindingExtension, this is an expression (TemplateBindingExpression) that supports the binding.

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

public override object ProvideValue(
	IServiceProvider serviceProvider
)

Parameters

serviceProvider
Type: System.IServiceProvider

An object that can provide services for the markup extension. May be null in this implementation.

Return Value

Type: System.Object

The expression that supports the binding.

.NET Framework
Available since 3.0
Return to top
Show: