Version

UpdateCheckBoxes Method

Called whenever an item is checked or unchecked in the checked list box used for editing the flagged enum.
Syntax
'Declaration
 
Protected Overridable Sub UpdateCheckBoxes( _
   ByVal enumType As Type, _
   ByVal list As CheckedListBox, _
   ByVal bitsToCheck As Long, _
   ByVal add As Boolean _
) 
protected virtual void UpdateCheckBoxes( 
   Type enumType,
   CheckedListBox list,
   long bitsToCheck,
   bool add
)

Parameters

enumType
The type of the flagged enum.
list
The associated list of items.
bitsToCheck
The bit representation of the value that should be checked.
add
Specifies whether to check an item if its bits are checked.
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