Pre loader

Apply style in xaml to ChartModifiers that are created in code

0
0

Hello,

I have created some ChartModifiers in a ModifierGroup in my ViewModel class (using Caliburn.Micro as MVVM framework, not code behind) and bound the group to my SciChartSurface in xaml. Now I want to apply some styles to my modfiers in xaml. Just creating styles with the specific target types don’t work so how do I do this?

Version
5.4.0.12119
  • You must to post comments
0
0

Hi there!

Thank for your inquiry. I am sorry for the late reply.
You can use Implicit Styles for ChartModifiers set in the ViewModel class. You will only need to set TargetType in the Style declaration.
Please find the example project attached.

Hope this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies