I want to have a mouse over effect when the mose passes a marker of a ScatterSeries preferrable by Code similar as the xamDataChart "Series Highlighting on Legend Hover" example in the WPF Samples Browser.
Regards Horst
Hello Horst,
I am glad that you managed to achieve your requirement using my approach.
Thank you for using Infragistics components.
Sincerely,Teodosia HristodorovaAssociate Software Developer
Hello Teodosia,
thank you for the update. I do not see any reason why this property should be set local. Your developer Team might rethink this Setting.
Anyway it works with your Approach...
Thank you for your help.
thank you for the update. It works as expected.
I think the previous Approach did not work with Scatterline because the Style assigned to the marker defined in "generic.shared.xaml" is already defing a VisualStateManager using "MouseOver"
<Style x:Key="myStyle" TargetType="{x:Type ig:Marker}" > <EventSetter Event="MouseEnter" Handler="Marker_MouseEnter"></EventSetter> <EventSetter Event="MouseLeave" Handler="Marker_MouseLeave"></EventSetter> </Style>
private void Marker_MouseEnter(object sender, MouseEventArgs e) { (sender as Marker).Opacity = 0.5; } private void Marker_MouseLeave(object sender, MouseEventArgs e) { (sender as Marker).Opacity = 1; }