I currently have an application in UWP using a MVVM pattern. In the view I have created a Numeric Text Box:
<editors:SfNumericTextBox FormatString=".0000" AllowNull="True" Value="{Binding HeightValue, Mode=TwoWay}" Style="{StaticResource SfTextBoxEntry}" GotFocus="GotFocus" />
The HeightValue is a double property in the ViewModel that of course can never be null. But what I would like to do is if the user has not entered any value in the numericTextBox for the display to be empty, but because the binding property defaults to 0 (Since it can never be null), I never can get a blank box.
I would prefer to not create a string property wrapper to HeightValue property, but I was wondering if there was a way to default the box to empty or display blank if 0?