|
|
|
ApplySelectedKeys (character)
|
Applies a comma-delimited list of selected keys to the item
check-states
Notes : Sets the SettingList guard for the duration of the operation
@param pcSelectedKeys Comma-delimited list of keys to check
*/
|
|
|
|
OnBindingContextChanged (EventArgs)
|
Overrides the BindingContextChanged notification to subscribe the
BindingComplete event on the Text data-binding so that incoming
data-source updates are reflected in the item check-states
Notes : Only subscribes once; subsequent calls are no-ops because the
binding object reference is stable after the first layout pass
@param e The System.EventArgs for the event
*/
|
|
|
|
OnItemCheckStateChanged (ItemCheckStateChangedEventArgs)
|
Overrides the ItemCheckStateChanged notification to maintain the
Text property as a comma-delimited list of checked item keys and
push the value back to a bound BindingSource
Notes : Does nothing while SettingList is true to prevent re-entrant
updates when ApplySelectedKeys is running
@param e The ItemCheckStateChangedEventArgs describing the change
*/
|
|
|
|
PopulateItems ()
|
Replaces the items of the control with the entries of the
ValueList property
Notes : SCL-6252 - the key of an item is the DataValue (empty for a
missing value), the text and the Value the DisplayText of the
value list item. The current selection (Text) is applied to the
new items afterwards
*/
|
|
|
|
TextBindingCompleteHandler (Object, BindingCompleteEventArgs)
|
Handles the BindingComplete event of the Text data-binding to
apply incoming BindingSource values to the item check-states
Notes : Ignored while SettingList is true and for non-ControlUpdate
binding directions
@param sender The System.Windows.Forms.Binding that raised the event
@param e The BindingCompleteEventArgs with context and state
*/
|