編輯

共用方式為


ColorConvertedBitmapExtension.ProvideValue(IServiceProvider) Method

Definition

Returns an object that should be set on the property where this extension is applied. For ColorConvertedBitmapExtension, this is the completed ColorConvertedBitmap.

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. This service is expected to provide results for IUriContext.

Returns

A ColorConvertedBitmap based on the values passed to the constructor.

Applies to