TemplateBindingExtension::ProvideValue Method (IServiceProvider^)


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)

virtual Object^ ProvideValue(
	IServiceProvider^ serviceProvider
) override


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