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\MouseGestureConverter.Tests.cs (3)
145
Assert.Equal(expected, converter.
ConvertTo
(context, cultureInfo, value, typeof(string)));
176
Assert.Throws<ArgumentNullException>(() => converter.
ConvertTo
(null, CultureInfo.InvariantCulture, new MouseGesture(MouseAction.LeftClick, ModifierKeys.Control), null));
185
Assert.Throws<NotSupportedException>(() => converter.
ConvertTo
(null, CultureInfo.InvariantCulture, value, destinationType));