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.
- ColumnCheckedChangedEventArgs.cs (VB: ColumnCheckedChangedEventArgs.vb)
- ColumnStateRepository.cs (VB: ColumnStateRepository.vb)
- GridViewColumnHeaderExtender.cs (VB: GridViewColumnHeaderExtender.vb)
- Main.cs (VB: Main.vb)
(you will be redirected to DevExpress.com to submit your response)