Udostępnij za pośrednictwem


ImageListValueConverter Class

Definition

Converts the given image list and an index in it into ImageSource.

public ref class ImageListValueConverter : Microsoft::VisualStudio::PlatformUI::MultiValueConverter<int, System::Collections::Generic::IList<System::Windows::Media::ImageSource ^> ^, System::Windows::Media::ImageSource ^>
[Windows::Foundation::Metadata::WebHostHidden]
class ImageListValueConverter : Microsoft::VisualStudio::PlatformUI::MultiValueConverter<int, System::Collections::Generic::IList<System::Windows::Media::ImageSource> const &, System::Windows::Media::ImageSource const &>
public class ImageListValueConverter : Microsoft.VisualStudio.PlatformUI.MultiValueConverter<int,System.Collections.Generic.IList<System.Windows.Media.ImageSource>,System.Windows.Media.ImageSource>
type ImageListValueConverter = class
    inherit MultiValueConverter<int, IList<ImageSource>, ImageSource>
Public Class ImageListValueConverter
Inherits MultiValueConverter(Of Integer, IList(Of ImageSource), ImageSource)
Inheritance

Constructors

ImageListValueConverter()

Microsoft internal use only.

Methods

CheckValue<T>(Object[], Int32, String)

Validates that values[index] is of type T

(Inherited from MultiValueConverterBase<TTarget>)
Convert(Int32, IList<ImageSource>, Object, CultureInfo)

Microsoft internal use only.

Convert(Object[], Type, Object, CultureInfo)

Microsoft internal use only.

(Inherited from MultiValueConverter<T1,T2,TTarget>)
Convert(T1, T2, Object, CultureInfo)

Microsoft internal use only.

(Inherited from MultiValueConverter<T1,T2,TTarget>)
ConvertBack(Object, Type[], Object, CultureInfo)

Microsoft internal use only.

(Inherited from MultiValueConverter<T1,T2,TTarget>)
ConvertBack(TTarget, T1, T2, Object, CultureInfo)

Microsoft internal use only.

(Inherited from MultiValueConverter<T1,T2,TTarget>)
ConvertBackCore(Object, Type[], Object, CultureInfo) (Inherited from MultiValueConverter<T1,T2,TTarget>)
ConvertCore(Object[], Type, Object, CultureInfo) (Inherited from MultiValueConverter<T1,T2,TTarget>)
MakeConverterFunctionNotDefinedException(String)

An exception thrown when the converter function isn’t defined.

(Inherited from MultiValueConverterBase<TTarget>)
ValidateConvertBackParameters(Object, Type[])

Validates the parameters passed to IMultiValueConverter.ConvertBack

(Inherited from MultiValueConverterBase<TTarget>)
ValidateConvertParameters(Object[], Type)

Validates the parameters passed to IMultiValueConverter.Convert

(Inherited from MultiValueConverterBase<TTarget>)

Applies to