Skip to content

DevExpress-Examples/wpf-data-grid-expand-and-collapse-master-rows

22.2.2+
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
CS
 
 
VB
 
 
 
 
 
 
 
 
 
 

WPF Data Grid - Expand and Collapse Master Rows

This example demonstrates how to expand and collapse the GridControl's master rows in code. The example contains the following buttons:

  • The Expand All button expands all master rows.
  • The Collapse All button collapses all master rows.
  • The Collapse All But This button collapses all master rows except for the focused row / row with the focused detail.

The CTRL+* shortcut is bound to toggle the focused master row's expanded state.

image

Files to Review

Documentation

More Examples

About

Expand and collapse the GridControl's master rows in code.

Topics

Resources

License

Stars

Watchers

Forks