Current filter:
                                You should refresh the page.
                                0
                                  • Hi there,

                                    Wish you can help me with pivot grid.
                                    As my attached picture shows, I want to style the Expander (circled out in red) inside the filter popup. You will see that expander if the filter popup's host header is inside a group.
                                    What I've found out is following,
                                    1. By default it shows the DeepBlue triangle.
                                    2. If you override this style here, removing the first line which sets the ThemeName property to DeepBlue,
                                    <Style x:Key="{dxpgi:PivotGridThemeKey ResourceKey=BorderTemplate}" TargetType="{x:Type dxpgi:DXPivotGridThemesLoader}">
                                            <!--<Setter Property="dx:ThemeManager.ThemeName" Value="DeepBlue" />-->
                                    there will show an expander button. I think that one is not from DevExpress, maybe WPF?
                                    3. I can’t figure out how to override that expander button. Such as tried defining a style for TreeViewItem, no effect.

                                    Thanks a lot,
                                    Tang

                                PivotGridFilterPopup.bmp
                                0

                                Hello Tang,

                                I am afraid I cannot provide you with an immediate answer. Please bear with us, we are searching for a solution.

                                Thanks,
                                Constant

                                0

                                Hello Tang,

                                Please override DevExpress.Xpf.PivotGrid.Internal.FilterCheckedTreeViewItem's default style to accomplish this task. Attached is a sample project.

                                Thanks,
                                Oleg

                                HowToBindToMDB-DesignTime.zip
                                0

                                Thanks, I think it helps.
                                May I ask which source code project contains that style dxpgi:FilterCheckedTreeViewItem pleae?

                                0

                                Hello Tang,

                                You will find the FilterCheckedTreeViewItem class in the FilterPopupEdit.cs file.
                                By default, it is placed in the following folder:

                                C:\Program Files (x86)\DevExpress 2011.2\Components\Sources\DevExpress.Xpf.PivotGrid\DevExpress.Xpf.PivotGrid\PivotGrid\FrameworkElements\

                                Thanks,
                                Valdemar

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.