Επεξεργασία

Κοινή χρήση μέσω


CachedResourceDictionaryExtension.ProvideValue(IServiceProvider) Method

Definition

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

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 IServiceProvider object that can provide services for the markup extension.

Returns

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

Remarks

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

Applies to