ColorConvertedBitmapExtension.ProvideValue Method (IServiceProvider)

 

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override object ProvideValue(
	IServiceProvider serviceProvider
)

Parameters

serviceProvider
Type: System.IServiceProvider

An object that can provide services for the markup extension. This service is expected to provide results for IUriContext.

Return Value

Type: System.Object

A ColorConvertedBitmap based on the values passed to the constructor.

.NET Framework
Available since 3.0
Return to top
Show: