Compartilhar via


ImageConverter Class

 

One-way converter from Image to ImageSource.

Namespace:   Microsoft.WindowsServerSolutions.Controls
Assembly:  AdminCommon (in AdminCommon.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Controls.ImageConverter

Syntax

[ValueConversionAttribute(typeof(Image), typeof(ImageSource))]
public class ImageConverter : IValueConverter
[ValueConversionAttribute((Image^::typeid), (ImageSource^::typeid))]
public ref class ImageConverter : IValueConverter
<ValueConversionAttribute(GetType(Image), GetType(ImageSource))>
Public Class ImageConverter
    Implements IValueConverter

Constructors

Name Description
System_CAPS_pubmethod ImageConverter()

Creates a new instance of the ImageConverter object.

Methods

Name Description
System_CAPS_pubmethod Convert(Object, Type, Object, CultureInfo)

Converts source value to a value for the binding target. The data binding engine calls this method when it propagates the values from source bindings to the binding target.

System_CAPS_pubmethod ConvertBack(Object, Type, Object, CultureInfo)

Converts a binding target value to the source binding values.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Controls Namespace

Return to top