public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { if (TypeConverters.CanConvertFrom <bool?>(sourceType)) { return(true); } return(sourceType == typeof(bool)); }
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return(TypeConverters.CanConvertFrom <PropertyPath>(sourceType)); }
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return(TypeConverters.CanConvertFrom <FontWeight>(sourceType)); }
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return(TypeConverters.CanConvertFrom <TextDecorationCollection>(sourceType)); }
public bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return(TypeConverters.CanConvertFrom <bool?>(sourceType) || (sourceType == typeof(bool))); }
public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType) { return TypeConverters.CanConvertFrom<Duration>(sourceType); }