共用方式為


ImageConverter.Convert(ImageSource, Object, CultureInfo) Method

Definition

Converts an ImageSource into an Image.

protected:
 override System::Windows::Controls::Image ^ Convert(System::Windows::Media::ImageSource ^ inputImage, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override System.Windows.Controls.Image Convert (System.Windows.Media.ImageSource inputImage, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : System.Windows.Media.ImageSource * obj * System.Globalization.CultureInfo -> System.Windows.Controls.Image
Protected Overrides Function Convert (inputImage As ImageSource, parameter As Object, culture As CultureInfo) As Image

Parameters

inputImage
ImageSource
parameter
Object
culture
CultureInfo

Returns

An Image object representing the input image held in the ImageSource.

Applies to