Hello,
We are using the GalaSoft MVVM Light toolkit, and would like to use EventToCommand with the RadColorPicker, like this:
The Click and SelectionColorChanged handlers receive System.EventArgs, which don't appear to have much information.
Can we use EventToCommand with these events on the RadColorPicker? How do we find the sender, and things like the SelectedColor property?
Thanks for any tips....
We are using the GalaSoft MVVM Light toolkit, and would like to use EventToCommand with the RadColorPicker, like this:
<RadColorPicker>
<!-- stuff -->
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"Click"
>
<
GalaSoft_MvvmLight_Command:EventToCommand
Command
=
"{Binding ChangeLinkColorCommand}"
PassEventArgsToCommand
=
"True"
/>
</
i:EventTrigger
>
<
i:EventTrigger
EventName
=
"SelectedColorChanged"
>
<
GalaSoft_MvvmLight_Command:EventToCommand
Command
=
"{Binding ChangeLinkColorCommand}"
PassEventArgsToCommand
=
"True"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</RadColorPicker>
Can we use EventToCommand with these events on the RadColorPicker? How do we find the sender, and things like the SelectedColor property?
Thanks for any tips....