Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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