Version

BeforeHeaderCheckStateChanged Event

Occurs before the CheckState of the Header CheckBox is changed
Syntax
'Declaration
 
Public Event BeforeHeaderCheckStateChanged As BeforeHeaderCheckStateChangedEventHandler
public event BeforeHeaderCheckStateChangedEventHandler BeforeHeaderCheckStateChanged
Event Data

The event handler receives an argument of type BeforeHeaderCheckStateChangedEventArgs containing data related to this event. The following BeforeHeaderCheckStateChangedEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
Column Gets the UltraGridColumn containing the header checkbox whose state is being changed
CurrentCheckState Gets the current CheckState value for the header's checkbox
IsCancelable Indicates if the change of the CheckState can be cancelled
NewCheckState Gets or sets the new CheckState value for the header's checkbox
Rows Gets the RowsCollection which is affected the header checkbox's state change
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also