Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: IntegerUpDown is setting the value to defaultvalue specified only when I click on some other control

$
0
0
<extWPF:IntegerUpDown x:Name="iudExpectedPageValue" MinWidth="70" Text="{Binding ExpectedPageVolume, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" MaxWidth="284" Width="284" Margin="0,3,0,7" Height="20" Minimum="1000" DisplayDefaultValueOnEmptyText="True" ClipValueToMinMax="True" Increment="1000" Maximum="99999999" DefaultValue="1000" Value="1000" VerticalAlignment="Center">
<i:Interaction.Triggers>
                            <i:EventTrigger EventName="InputValidationError">
                                <i:InvokeCommandAction Command="{Binding Path=ValidationCommand}"/>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
InputValidationError Event is never fired.However if i change it to MouseLeave or something else its working.

I want to do some changes when there is an input validation error like setting the tooltip and showing errortemplate and disabling save button.

I want to bind the event to my viewmodel so that i can do the changes.

Viewing all articles
Browse latest Browse all 2157

Trending Articles