Bewerken

Delen via


TemplateBindingExtension.ProvideValue(IServiceProvider) Method

Definition

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.

public:
 override System::Object ^ ProvideValue(IServiceProvider ^ serviceProvider);
public override object ProvideValue (IServiceProvider serviceProvider);
override this.ProvideValue : IServiceProvider -> obj
Public Overrides Function ProvideValue (serviceProvider As IServiceProvider) As Object

Parameters

serviceProvider
IServiceProvider

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

Returns

The expression that supports the binding.

Applies to