Base:
method
ConvertTo
System.ComponentModel.TypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)
3 references to ConvertTo
PresentationCore.Tests (3)
System\Windows\Input\Command\KeyGestureConverter.Tests.cs (3)
153Assert.Equal(expected, converter.ConvertTo(context, cultureInfo, value, typeof(string))); 190Assert.Throws<ArgumentNullException>(() => converter.ConvertTo(null, CultureInfo.InvariantCulture, new KeyGesture(Key.C, ModifierKeys.Control), null)); 199Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, CultureInfo.InvariantCulture, value, destinationType));