I have something like this:
<igEditor:XamNumericEditor x:Name="TextBox" Value="{Binding Length, Mode=TwoWay}" ValueType="{x:Type system:Decimal}" Margin="0,5,2.13,0" Mask="{}nn" PromptChar=" " Height="22.5" Grid.Column="1" Grid.Row="2" d:LayoutOverrides="Width" Template="{DynamicResource XamNumericEditorTemplate}" Style="{DynamicResource XamMaskedEditorLikeTextBoxTemplate}"/>
the textbox (xamnumericeditor) shows empty when no user input. I want it to show 0 as a default value. Any tricks?
Thanks,
Joan
Hello Joan,
You can use the NullText property like so:
NullText="0"
Let me know if this helps and if you require any further assistance.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support