commandparameter (1) 썸네일형 리스트형 wpf MVVM Commandparameter 여러 개 파라미터 받기 wpf의 MVVM패턴 사용시 commandparameter의 값을 여러개를 받을때 사용 할 수 있는 코드입니다. -소스는 저번에 사용한 ICommand활성화 비활성화를 가져다 썻습니다. 1.컨버터 코드 생성 //컨버터 class Converter : IMultiValueConverter { public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { return values.Clone(); } public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { throw new .. 이전 1 다음