Pre loader

How can I style the grid splitter of the SciChartGroup?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums



I want to style the splitter between panes of the SciCharGroup, like changing its height and color.

By using snoop, I can see that the splitter actually is a Thumb control, and SciChart applies a ControlTemplate on it(maybe I’m wrong).
But I still have no idea how to style it.

I need your help.

  • You must to post comments
Great Answer

Hi Yuhang,

Thanks for your question. Unfortunately, it isn’t possible to restyle the splitter now. You can only change it replacing the template for SciChartGroupPane via the ItemContainerStyle property on SciChartGroup. Please refer to the “Multi Pane Stock Charts” example for more implementation details.

And below you can find the default template of SciChartGroupPane:

                <ControlTemplate TargetType="s:SciChartGroupPane">
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition />

                    <!--  Splitter  -->
                    <Thumb x:Name="PART_TopSplitter"
                            <Style TargetType="Thumb">
                                <Setter Property="Background" Value="{me:ThemeBinding RubberBandFillBrush}" />
                                <Setter Property="BorderBrush" Value="{me:ThemeBinding RubberBandStrokeBrush}" />

                    <!--  Surface  -->
                    <ContentPresenter x:Name="PART_ContentHost"
                                      Content="{TemplateBinding Content}" />
                    <!--  Header  -->
                    <Grid x:Name="PART_Header" Grid.Row="1">
                            <RowDefinition Height="Auto" />

You should modify it and apply the desired changes to the PART_TopSplitter.

Finally, we’ve logged this issue and it will be fixed in the next version.

Hope this helps!

Best regards,

  • Yuhang Ji
    Thank you very much! It solved my question!
  • 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