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)
153
Assert.Equal(expected, converter.
ConvertTo
(context, cultureInfo, value, typeof(string)));
190
Assert.Throws<ArgumentNullException>(() => converter.
ConvertTo
(null, CultureInfo.InvariantCulture, new KeyGesture(Key.C, ModifierKeys.Control), null));
199
Assert.Throws<NotSupportedException>(() => converter.
ConvertTo
(null, CultureInfo.InvariantCulture, value, destinationType));