Replied 3 September 2018, 7:27 pm EST
Thank you for sharing the application.
Yes, both these are by-design. However, you can workaround them to meet your requirements using a Converter.
1. For showing a blank/empty cell when C1NumericBox's value is set to null, then you need to define Convert
method of IValueConverter
, as follows:
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
if (value == null)
2. To get notified upon pressing Delete key on C1NumericBox, you need to define IValueConverter's ConvertBack
method, as follows:
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
Then in XAML, sjust use this converter while binding C1NumericBox's Value
Attached is modified sample application for reference.