public Convert ( object value, |
||
value | object | |
targetType | ||
parameter | object | |
culture | ||
리턴 | object |
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
string imageName = (string)value;
return new BitmapImage(new Uri("images/" + imageName + ".ico", UriKind.Relative));
}