Udostępnij za pośrednictwem


DpiPrescaleThemedImageConverter.Convert Method

Definition

Overloads

Convert(ImageSource, Color, Boolean, Object, CultureInfo)
Convert(ImageSource, Color, Boolean, Boolean, Object, CultureInfo)

Convert(ImageSource, Color, Boolean, Object, CultureInfo)

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

Parameters

inputImage
ImageSource
backgroundColor
Color
isEnabled
Boolean
parameter
Object
culture
CultureInfo

Returns

Returns Image.

Applies to

Convert(ImageSource, Color, Boolean, Boolean, Object, CultureInfo)

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

Parameters

inputImage
ImageSource
backgroundColor
Color
isEnabled
Boolean
isHighContrast
Boolean
parameter
Object
culture
CultureInfo

Returns

Returns Image.

Applies to