I cannot seem to properly attach a caliburn micro event message to the ValueChanged event. It works for ValueChanging.
This does not trigger the AbilityChanged fiction on my DataContext.
<sf:UpDown Grid.Row="1" Grid.Column="1" NumberDecimalDigits="0" TextAlignment="Center" Margin="10,0,10,0" Value="{Binding Character.Strength.BaseValue}" Step="1" MinValue="{Binding Character.Class.StrengthMin}" MaxValue="18" cal:Message.Attach="[Event ValueChanged] = [Action AbilityChandged()]" />
This WILL trigger the AbilityChanging function on my DataContext.
<sf:UpDown Grid.Row="1" Grid.Column="1" NumberDecimalDigits="0" TextAlignment="Center" Margin="10,0,10,0" Value="{Binding Character.Strength.BaseValue}" Step="1" MinValue="{Binding Character.Class.StrengthMin}" MaxValue="18" cal:Message.Attach="[Event ValueChanging] = [Action AbilityChanging()]" />
Hi Joshua,
|
|
If you are still facing the same issue, could you please share the issue reproducing sample? It will be more helpful for us to find the exact cause for the issue and to provide a prompt solution.
Regards,
Sudharsan
Thank you for the reply. I still have the same issue. I have attached a simple example. n the example i see the popup box for ValueChanging, but not for ValueChanged when i manipulate the updown control.
Thanks for the help.