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