Hi all
How do I reader the header's check box's state?
I find this event - AfterHeaderCheckStateChanged(object sender, AfterHeaderCheckStateChangedEventArgs e) will trigger when checkbox state change, but I find no property that return the actual state.
Bryan
Hello Bryan,
The eventargs for the AfterHeaderCheckStateChanged event provides both the UltraGridColumn and affected RowsCollection. To get the current CheckState for the header, you can call the column's GetHeaderCheckState() method passing in the provided RowsCollection.
CheckState currentCheckState = e.Column.GetHeaderCheckState(e.Rows);
Please let me know if I can be of further assistance.
Thanks,
Chris