Version

SetHeaderCheckedState(RowsCollection,CheckState) Method

Sets the CheckState of the Header of the provided RowsCollection.
Syntax
'Declaration
 
Public Overloads Sub SetHeaderCheckedState( _
   ByVal rows As RowsCollection, _
   ByVal state As CheckState _
) 
public void SetHeaderCheckedState( 
   RowsCollection rows,
   CheckState state
)

Parameters

rows
RowsCollection containing the header to be changed
state
New CheckState value to be applied to the header checkbox
Remarks
The "state" parameter can only be set to CheckState.Indeterminate when the HeaderCheckBoxSynchronization resolves to None.
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