Skip to content

DevExpress-Examples/winforms-grid-add-check-box-to-column-header

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Data Grid - How to display a check box within a column header

This example creates a GridViewColumnHeaderExtender component that displays check boxes in column headers of a Grid View.

Set the GridViewColumnHeaderExtender.DrawCheckBoxByDefault option to false to display check boxes when the mouse cursor hovers over column headers:

The example handles the GridViewColumnHeaderExtender.ColumnCheckedChanged event to respond to changes in a column's check state.

Files to Review

See Also