Version

SetCheckState Method (UltraListViewCheckedItemsCollection)

Sets the CheckState property to the specified value for each UltraListViewItem instance in the specified array without issuing multiple property change notifications.
Syntax
'Declaration
 
Public Sub SetCheckState( _
   ByVal items() As UltraListViewItem, _
   ByVal checkState As CheckState _
) 
public void SetCheckState( 
   UltraListViewItem[] items,
   CheckState checkState
)

Parameters

items
An array of UltraListViewItem instances on which the CheckState property is to be set.
checkState
The new value for the CheckState property.
Remarks

When the publicly exposed CheckState property is set directly, a property change notification is issued; when an application needs to set the property on a large number of items, this can adversely affect performance. The SetCheckState method can be used to set the CheckState property on multiple items while only issuing one property change notification.

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