Freigeben über


IMarkupExtension<T>.ProvideValue(IServiceProvider) Method

Definition

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.

public T ProvideValue (IServiceProvider serviceProvider);
abstract member ProvideValue : IServiceProvider -> 'T

Parameters

serviceProvider
System.IServiceProvider

The service that provides the value.

Returns

T

The object that is provided as the value of the target property for this markup extension.

Applies to