I have two xceed integer updown controls and a save button as shown below.
<extWPF:IntegerUpDown Name="iudExpectedRevenue" Text="{Binding ExpectedRevenue}" Minimum="1" Increment="1" Maximum="250" DisplayDefaultValueOnEmptyText="True" ClipValueToMinMax="True" DefaultValue="1" />
<extWPF:IntegerUpDown Name="iudExpectedPageValue" />
<Button Name="btnSave" Command="{Binding AddJobCommand}" />
If i delete the value from the first integerupdown and click on second integerupdown the value in the firstintegerupdown shows defaultvalue "1" which is correct.
If i delete the value from the first integerupdown and directly click on save the value will be shown as blank in the Control instead of defaultvalue "1".
This is happenening due to control built in property DisplayDefaultValueOnEmptyText="True" which is happening only when i click on other control.I want to ensure that the integerupdown shows correct value before user clicks on save.
<extWPF:IntegerUpDown Name="iudExpectedRevenue" Text="{Binding ExpectedRevenue}" Minimum="1" Increment="1" Maximum="250" DisplayDefaultValueOnEmptyText="True" ClipValueToMinMax="True" DefaultValue="1" />
<extWPF:IntegerUpDown Name="iudExpectedPageValue" />
<Button Name="btnSave" Command="{Binding AddJobCommand}" />
If i delete the value from the first integerupdown and click on second integerupdown the value in the firstintegerupdown shows defaultvalue "1" which is correct.
If i delete the value from the first integerupdown and directly click on save the value will be shown as blank in the Control instead of defaultvalue "1".
This is happenening due to control built in property DisplayDefaultValueOnEmptyText="True" which is happening only when i click on other control.I want to ensure that the integerupdown shows correct value before user clicks on save.