1 write to ThreeState
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
403
ThreeState
= (value is not null && s_defaultCheckStateType.IsAssignableFrom(value));
13 references to ThreeState
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (11)
259
public override Type FormattedValueType =>
ThreeState
? s_defaultCheckStateType : s_defaultBooleanType;
293
if (
ThreeState
!= value)
315
if (
ThreeState
!= value)
398
return
ThreeState
? s_defaultCheckStateType : s_defaultBooleanType;
421
dataGridViewCell.ThreeStateInternal =
ThreeState
;
562
if (
ThreeState
)
587
else if (
ThreeState
&& value.Equals(IndeterminateValue))
607
return
ThreeState
? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue;
611
return
ThreeState
? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse;
618
return
ThreeState
? SR.DataGridViewCheckBoxCell_ClipboardChecked : SR.DataGridViewCheckBoxCell_ClipboardTrue;
622
return
ThreeState
? SR.DataGridViewCheckBoxCell_ClipboardUnchecked : SR.DataGridViewCheckBoxCell_ClipboardFalse;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (2)
201
return CheckBoxCellTemplate.
ThreeState
;
291
defaultNullValue = templateCell.
ThreeState
? CheckState.Indeterminate : false;