How to expand and collapse entire group in PivotGrid?
23 Oct 2019 / 1 minute to read
Expanding entire group in PivotGrid
After defining PivotGrid control, invoke the method ExpandAllGroup()
to expand entire group in the PivotGrid control.
Please refer the below code sample.
public MainWindow()
{
InitializeComponent();
//To expand entire group in PivotGrid
pivotGrid.ExpandAllGroup();
}
Collapsing entire group in PivotGrid
After defining PivotGrid control, invoke the method CollapseAllGroup()
to collapse entire group in the PivotGrid control.
Please refer the below code sample.
public MainWindow()
{
InitializeComponent();
//To collapse entire group in PivotGrid
pivotGrid.CollapseAllGroup();
}
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page