1 write to ButtonState
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1708
ButtonState
= newButtonState;
15 references to ButtonState
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (15)
188
if (
ButtonState
!= value)
770
protected override bool MouseLeaveUnsharesRow(int rowIndex) =>
ButtonState
.HasFlag(ButtonState.Pushed);
814
UpdateButtonState(
ButtonState
| ButtonState.Checked, rowIndex);
828
UpdateButtonState(
ButtonState
& ~ButtonState.Checked, rowIndex);
853
if (
ButtonState
!= ButtonState.Normal)
870
UpdateButtonState(
ButtonState
| ButtonState.Pushed, e.RowIndex);
892
if (
ButtonState
.HasFlag(ButtonState.Pushed) &&
896
UpdateButtonState(
ButtonState
& ~ButtonState.Pushed, rowIndex);
920
if (!
ButtonState
.HasFlag(ButtonState.Pushed) &&
924
UpdateButtonState(
ButtonState
| ButtonState.Pushed, e.RowIndex);
926
else if (
ButtonState
.HasFlag(ButtonState.Pushed) && !s_mouseInContentBounds)
928
UpdateButtonState(
ButtonState
& ~ButtonState.Pushed, e.RowIndex);
945
UpdateButtonState(
ButtonState
& ~ButtonState.Pushed, e.RowIndex);
1113
if ((
ButtonState
& (ButtonState.Pushed | ButtonState.Checked)) != 0)
1397
if ((
ButtonState
& (ButtonState.Pushed | ButtonState.Checked)) != 0)