C# 클래스 Cimbalino.Phone.Toolkit.Controls.EnumValuesConverter

An IValueConverter which converts an Enum possible values to a string array value.
상속: IValueConverter
파일 보기 프로젝트 열기: Cimbalino/Cimbalino-Phone-Toolkit

공개 메소드들

메소드 설명
Convert ( object value, Type targetType, object parameter, System culture ) : object

Converts an Enum possible values to a string array value.

ConvertBack ( object value, Type targetType, object parameter, System culture ) : object

Converts a string array value to an Enum possible value.

메소드 상세

Convert() 공개 메소드

Converts an Enum possible values to a string array value.
public Convert ( object value, Type targetType, object parameter, System culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
리턴 object

ConvertBack() 공개 메소드

Converts a string array value to an Enum possible value.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
리턴 object