Hello, I am using the scichart example : SciChart_CustomTooltipsWithModifiers.
I want to double click the RolloverModifier to trigger en event.
The xaml(wpf) is as follows:
The c# :
private void RolloverModifier_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
MessageBox.Show(“nihao11111111111111”);
}
But it didn’t work. Can you help me to solve this problem?
Thank you.
- Zhi Zhang asked 1 month ago
-
Hi Zhi Zhang, Thanks for your inquiry. I am going to discuss this with our team and will get back to you with an update. Kind regards, Lex, SciChart Technical Support Engineer
- You must login to post comments
Hi Zhi Zhang,
Hope you are doing well.
I’m glad to inform you that we have investigated your inquiry.
RolloverModifier inherits the mentioned event from its base class – FrameworkElement.
However, this can’t be applied to the RolloverModifier directly as well as many other things inherited from the base class due to the implementation specifics.
Instead, we recommend creating a Custom ChartModifier inherited from the RolloverModifier and overriding the OnModifierDoubleClick() method inside.
We’ve also prepared a customized example showing this approach. Please find it attached.
Kind regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 4 weeks ago
- You must login to post comments
Please login first to submit.