660 writes to
Microsoft.CodeAnalysis.EditorFeatures (5)
IntelliSense\AsyncCompletion\FilterSet.cs (5)
142
vectorForSingleItem
[
s_expanderMask] = _vector
[
s_expanderMask] = true;
150
vectorForSingleItem
[
filterWithMask.Mask] = _vector
[
filterWithMask.Mask] = true;
175
_vector
[
filterSetData] = true;
PresentationCore (1)
System\Windows\RoutedEventArgs.cs (1)
359
_flags
[
InvokingHandlerIndex] = value;
PresentationFramework (1)
System\Windows\Interop\ActiveXHost.cs (1)
385
_axHostState
[
mask] = value;
System.ComponentModel.TypeConverter (12)
System\ComponentModel\MaskedTextProvider.cs (12)
267
_flagState
[
s_ALLOW_PROMPT_AS_INPUT] = allowPromptAsInput;
268
_flagState
[
s_ASCII_ONLY] = restrictToAscii;
272
_flagState
[
s_INCLUDE_PROMPT] = false;
273
_flagState
[
s_INCLUDE_LITERALS] = true;
274
_flagState
[
s_RESET_ON_PROMPT] = true;
275
_flagState
[
s_SKIP_SPACE] = true;
276
_flagState
[
s_RESET_ON_LITERALS] = true;
563
_flagState
[
s_INCLUDE_LITERALS] = value;
579
_flagState
[
s_INCLUDE_PROMPT] = value;
742
_flagState
[
s_RESET_ON_PROMPT] = value;
761
_flagState
[
s_SKIP_SPACE] = value;
781
_flagState
[
s_RESET_ON_LITERALS] = value;
System.Windows.Forms (604)
System\Windows\Forms\ActiveX\AxHost.cs (43)
192
_axState
[
s_assignUniqueID] = !GetType().GUID.Equals(s_comctlImageCombo_Clsid);
193
_axState
[
s_needLicenseKey] = true;
194
_axState
[
s_rejectSelection] = true;
226
_axState
[
mask] = value;
831
_axState
[
s_addedSelectionHandler] = true;
859
_axState
[
s_addedSelectionHandler] = false;
881
_axState
[
s_renameEventHooked] = hook;
1032
_axState
[
s_fNeedOwnWindow] = false;
1033
_axState
[
s_fFakingWindow] = true;
1184
_axState
[
s_handlePosRectChanged] = true;
1238
_axState
[
s_handlePosRectChanged] = false;
1268
_axState
[
s_manualUpdate] = true;
1297
_axState
[
s_inTransition] = true;
1344
_axState
[
s_inTransition] = false;
1357
_axState
[
s_inTransition] = true;
1364
_axState
[
s_disposed] = false;
1382
_axState
[
s_ownDisposing] = false;
1444
_axState
[
s_inTransition] = false;
1469
_axState
[
s_ownDisposing] = true;
1502
_axState
[
s_fFakingWindow] = false;
1584
_axState
[
s_fNeedOwnWindow] = false;
1631
_axState
[
s_fNeedOwnWindow] = true;
1686
_axState
[
s_siteProcessedInputKey] = false;
1728
_axState
[
s_siteProcessedInputKey] = false;
1833
_axState
[
s_ocxStateSet] = true;
1852
_axState
[
s_manualUpdate] = _ocxState.ManualUpdate;
2020
_axState
[
s_valueChanged] = false;
2186
_axState
[
s_ownDisposing] = true;
2194
_axState
[
s_ownDisposing] = ownDispose;
2236
_axState
[
s_needLicenseKey] = false;
2433
_axState
[
s_editorRefresh] = true;
2524
_axState
[
s_refreshProperties] = value;
2528
_axState
[
s_listeningToIdle] = true;
2533
_axState
[
s_listeningToIdle] = false;
2885
_axState
[
s_sinkAttached] = true;
2902
_axState
[
s_sinkAttached] = false;
3172
_axState
[
s_processingKeyUp] = true;
3182
_axState
[
s_processingKeyUp] = false;
3365
_axState
[
s_rejectSelection] = true;
3443
_axState
[
s_disposed] = true;
3446
_axState
[
s_sinkAttached] = false;
3460
_axState
[
s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) && IsUserMode();
3463
_axState
[
s_fSimpleFrame] = bits.HasFlag(OLEMISC.OLEMISC_SIMPLEFRAME);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (19)
264
set => _activeXState
[
s_eventsFrozen] = value;
812
_activeXState
[
s_inPlaceActive] = true;
882
_activeXState
[
s_uiActive] = true;
946
_activeXState
[
s_inPlaceActive] = false;
947
_activeXState
[
s_inPlaceVisible] = false;
1290
_activeXState
[
s_uiDead] = value.data.boolVal == VARIANT_BOOL.VARIANT_TRUE;
1581
_activeXState
[
s_isDirty] = false;
1609
_activeXState
[
s_viewAdvisePrimeFirst] = advf.HasFlag(ADVF.ADVF_PRIMEFIRST);
1610
_activeXState
[
s_viewAdviseOnlyOnce] = advf.HasFlag(ADVF.ADVF_ONLYONCE);
1656
_activeXState
[
s_uiDead] = uiDead;
1688
_activeXState
[
s_changingExtents] = true;
1721
_activeXState
[
s_isDirty] = true;
1738
_activeXState
[
s_changingExtents] = false;
1747
_activeXState
[
s_inPlaceVisible] = visible;
1777
_activeXState
[
s_adjustingRect] = true;
1784
_activeXState
[
s_adjustingRect] = false;
1937
_activeXState
[
s_uiActive] = false;
2020
_activeXState
[
s_adjustingRect] = true;
2029
_activeXState
[
s_adjustingRect] = false;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (4)
180
action
[
s_combineCheck] =
183
action
[
s_combineImageText] = !LayoutUtils.IsHorizontalRelation(TextImageRelation);
243
action
[
s_combineCheck] = CheckAlign == ContentAlignment.MiddleCenter || !LayoutUtils.IsVerticalAlignment(CheckAlign);
244
action
[
s_combineImageText] = !LayoutUtils.IsVerticalRelation(TextImageRelation);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (48)
397
_dataGridViewState1
[
State1_ColumnHeadersVisible
403
_dataGridViewState2
[
State2_ShowEditingIcon
434
_dataGridViewState1
[
State1_MultiSelect] = true;
655
_dataGridViewState1
[
State1_AllowUserToAddRows] = value;
688
_dataGridViewState1
[
State1_AllowUserToDeleteRows] = value;
719
_dataGridViewState1
[
State1_AllowUserToOrderColumns] = value;
747
_dataGridViewState2
[
State2_AllowUserToResizeColumns] = value;
775
_dataGridViewState2
[
State2_AllowUserToResizeRows] = value;
842
_dataGridViewState1
[
State1_AutoGenerateColumns] = value;
865
_dataGridViewState1
[
State1_IsAutoSized] = value;
1243
_dataGridViewOper
[
OperationInBorderStyleChange] = true;
1309
_dataGridViewOper
[
OperationInBorderStyleChange] = false;
1330
_dataGridViewState2
[
State2_CellMouseDownInContentBounds] = value;
1460
_dataGridViewOper
[
OperationInBorderStyleChange] = true;
1484
_dataGridViewOper
[
OperationInBorderStyleChange] = false;
1530
_dataGridViewState1
[
State1_AmbientColumnHeadersFont] = value?.Font == base.Font;
1557
_dataGridViewState1
[
State1_AmbientColumnHeadersFont] = true;
1669
_dataGridViewState1
[
State1_ColumnHeadersVisible] = value;
1866
_dataGridViewState2
[
State2_IgnoreCursorChange] = true;
1873
_dataGridViewState2
[
State2_IgnoreCursorChange] = false;
1998
_dataGridViewState1
[
State1_AmbientForeColor] = true;
2014
_dataGridViewState1
[
State1_AmbientFont] = true;
2043
_dataGridViewState1
[
State1_AmbientFont] = value?.Font == base.Font;
2070
_dataGridViewState1
[
State1_AmbientFont] = true;
2071
_dataGridViewState1
[
State1_AmbientForeColor] = true;
2107
_dataGridViewState1
[
State1_AmbientRowHeadersFont] = true;
2272
_dataGridViewState2
[
State2_EnableHeadersVisualStyles] = value;
2843
set => _dataGridViewOper
[
OperationInDisplayIndexAdjustments] = value;
2864
_dataGridViewState1
[
State1_EditedCellChanged] = value;
2899
_dataGridViewState1
[
State1_EditedRowChanged] = value;
3002
_dataGridViewState1
[
State1_MultiSelect] = value;
3089
_dataGridViewState1
[
State1_ReadOnly] = value;
3095
_dataGridViewOper
[
OperationInReadOnlyChange] = true;
3109
_dataGridViewOper
[
OperationInReadOnlyChange] = false;
3165
_dataGridViewState2
[
State2_RightToLeftMode] = (RightToLeft == RightToLeft.Yes);
3166
_dataGridViewState2
[
State2_RightToLeftValid] = true;
3257
_dataGridViewOper
[
OperationInBorderStyleChange] = true;
3281
_dataGridViewOper
[
OperationInBorderStyleChange] = false;
3317
_dataGridViewState1
[
State1_AmbientRowHeadersFont] = value?.Font == base.Font;
3358
_dataGridViewState1
[
State1_RowHeadersVisible] = value;
3780
_dataGridViewState2
[
State2_ShowCellErrors] = value;
3833
_dataGridViewState2
[
State2_ShowCellToolTips] = value;
3885
_dataGridViewState2
[
State2_ShowEditingIcon] = value;
3921
_dataGridViewState2
[
State2_ShowRowErrors] = value;
3982
_dataGridViewState1
[
State1_StandardTab] = value;
4146
_dataGridViewState1
[
State1_VirtualMode] = value;
4941
_dataGridViewState2
[
State2_Initializing] = true;
4946
_dataGridViewState2
[
State2_Initializing] = false;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (56)
114
set => _dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = value;
164
_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] = false;
166
_dataConnectionState
[
DATACONNECTIONSTATE_inEndCurrentEdit] = true;
173
_dataConnectionState
[
DATACONNECTIONSTATE_inEndCurrentEdit] = false;
176
_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew] = true;
184
_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew] = false;
350
_dataConnectionState
[
DATACONNECTIONSTATE_processingListChangedEvent] = true;
357
_dataConnectionState
[
DATACONNECTIONSTATE_processingListChangedEvent] = false;
375
_dataConnectionState
[
DATACONNECTIONSTATE_processingMetaDataChanges] = true;
382
_dataConnectionState
[
DATACONNECTIONSTATE_processingMetaDataChanges] = false;
395
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = true;
445
_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] = true;
461
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = true;
469
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = false;
502
_dataConnectionState
[
DATACONNECTIONSTATE_itemAddedInDeleteOperation] = true;
528
_dataConnectionState
[
DATACONNECTIONSTATE_itemAddedInDeleteOperation] = false;
536
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = true;
544
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = false;
561
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = true;
568
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset] = true;
611
_dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false;
672
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = false;
726
_dataConnectionState
[
DATACONNECTIONSTATE_positionChangingInCurrencyManager] = true;
753
_dataConnectionState
[
DATACONNECTIONSTATE_positionChangingInCurrencyManager] = false;
794
_dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = false;
821
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true;
849
_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] = true;
851
_dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = true;
858
_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] = false;
859
_dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false;
866
_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] = true;
868
_dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = true;
875
_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] = false;
876
_dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false;
882
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false;
1015
_dataConnectionState
[
DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] = _owner.AllowUserToAddRowsInternal;
1024
_dataConnectionState
[
DATACONNECTIONSTATE_interestedInRowEvents] = true;
1047
_dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = false;
1058
_dataConnectionState
[
DATACONNECTIONSTATE_dataConnection_inSetDataConnection] = true;
1072
_dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = true;
1100
_dataConnectionState
[
DATACONNECTIONSTATE_dataConnection_inSetDataConnection] = false;
1286
_dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit] = true;
1287
_dataConnectionState
[
DATACONNECTIONSTATE_restoreRow] = restoreRow;
1316
_dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit] = false;
1321
_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] = true;
1327
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true;
1334
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false;
1352
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true;
1378
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false;
1398
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true;
1405
_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false;
1411
_dataConnectionState
[
DATACONNECTIONSTATE_rowValidatingInAddNew] = true;
1423
_dataConnectionState
[
DATACONNECTIONSTATE_rowValidatingInAddNew] = false;
1429
_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] = true;
1552
_dataConnectionState
[
DATACONNECTIONSTATE_interestedInRowEvents] = false;
1562
_dataConnectionState
[
DATACONNECTIONSTATE_interestedInRowEvents] = true;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (159)
75
_dataGridViewState1
[
State1_NewRowCreatedByEditing] = createdByEditing;
306
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
436
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
529
_dataGridViewOper
[
OperationInAdjustFillingColumn] = true;
867
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = false;
878
_dataGridViewOper
[
OperationInAdjustFillingColumn] = false;
890
_dataGridViewOper
[
OperationInAdjustFillingColumns] = true;
976
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = false;
1053
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = false;
1203
_dataGridViewState2
[
State2_AllowHorizontalScrollbar] = false;
1245
_dataGridViewState2
[
State2_AllowHorizontalScrollbar] = true;
1284
_dataGridViewOper
[
OperationInAdjustFillingColumns] = false;
1745
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
1811
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
1875
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
2004
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
2166
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
2283
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
2397
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = true;
2440
_dataGridViewOper
[
OperationTrackColHeadersResize] = true;
2484
_dataGridViewOper
[
OperationTrackColRelocation] = true;
2485
_dataGridViewState2
[
State2_ShowColumnRelocationInsertion] = false;
2510
_dataGridViewOper
[
OperationTrackColResize] = true;
2525
_dataGridViewOper
[
OperationTrackKeyboardColResize] = true;
2577
_dataGridViewOper
[
OperationInBeginEdit] = true;
2644
_dataGridViewState1
[
State1_CurrentCellInEditMode] = true;
2725
_dataGridViewOper
[
OperationInBeginEdit] = false;
2756
_dataGridViewOper
[
OperationTrackRowHeadersResize] = true;
2777
_dataGridViewOper
[
OperationTrackRowResize] = true;
3081
_dataGridViewState1
[
State1_IgnoringEditingChanges] = true;
3106
_dataGridViewState1
[
State1_IgnoringEditingChanges] = false;
4940
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = true;
4960
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = false;
4974
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = true;
4994
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = false;
5574
_dataGridViewOper
[
OperationInDispose] = true;
5619
_dataGridViewOper
[
OperationInDispose] = false;
5746
_dataGridViewOper
[
OperationLastEditCtrlClickDoubled] = false;
5772
_dataGridViewState2
[
State2_MessageFromEditingCtrls] = true;
5825
_dataGridViewOper
[
OperationLastEditCtrlClickDoubled] = true;
5940
_dataGridViewState2
[
State2_MessageFromEditingCtrls] = false;
5989
_dataGridViewState1
[
State1_CustomCursorSet] = true;
6010
_dataGridViewState1
[
State1_CustomCursorSet] = false;
6065
_dataGridViewState2
[
State2_ShowColumnRelocationInsertion] = false;
6164
_dataGridViewOper
[
OperationInEndEdit] = true;
6220
_dataGridViewState2
[
State2_MouseOverRemovedEditingCtrl] = MouseOverEditingControl;
6221
_dataGridViewState2
[
State2_MouseOverRemovedEditingPanel] = MouseOverEditingPanel;
6222
_dataGridViewState1
[
State1_EditingControlChanging] = true;
6229
_dataGridViewState1
[
State1_EditingControlChanging] = false;
6262
_dataGridViewState1
[
State1_CurrentCellInEditMode] = false;
6276
_dataGridViewOper
[
OperationInEndEdit] = false;
9684
_dataGridViewState1
[
State1_IgnoringEditingChanges] = true;
9711
_dataGridViewState1
[
State1_IgnoringEditingChanges] = false;
9725
_dataGridViewState1
[
State1_EditingControlChanging] = true;
9726
_dataGridViewState1
[
State1_IgnoringEditingChanges] = true;
9743
_dataGridViewState1
[
State1_EditingControlChanging] = false;
9744
_dataGridViewState1
[
State1_IgnoringEditingChanges] = false;
10488
_dataGridViewState2
[
State2_ShowColumnRelocationInsertion] = ColumnRelocationTarget(e, hti, out _trackColumnEdge);
10771
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
10904
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
11173
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
11254
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
11450
_dataGridViewState2
[
State2_InBindingContextChanged] = true;
11490
_dataGridViewState2
[
State2_InBindingContextChanged] = false;
11859
_dataGridViewState2
[
State2_NextMouseUpIsDouble] = false;
11880
_dataGridViewState2
[
State2_NextMouseUpIsDouble] = true;
11925
_dataGridViewOper
[
OperationResizingOperationAboutToStart] = (e.Clicks == 1);
12056
_dataGridViewOper
[
OperationResizingOperationAboutToStart] = false;
12147
_dataGridViewOper
[
OperationTrackCellSelect] = true;
12246
_dataGridViewOper
[
OperationTrackColSelect] = true;
12337
_dataGridViewOper
[
OperationTrackCellSelect] = true;
12449
_dataGridViewOper
[
OperationTrackRowSelect] = true;
12543
_dataGridViewOper
[
OperationTrackCellSelect] = true;
12861
_dataGridViewState1
[
State1_AmbientFont] = false;
12866
_dataGridViewState1
[
State1_AmbientColumnHeadersFont] = false;
12871
_dataGridViewState1
[
State1_AmbientRowHeadersFont] = false;
12879
_dataGridViewState1
[
State1_AmbientForeColor] = false;
13117
_dataGridViewOper
[
OperationInCellValidating] = true;
13129
_dataGridViewOper
[
OperationInCellValidating] = false;
13228
_dataGridViewState2
[
State2_RaiseSelectionChanged] = _selectedBandIndexes.Count > 0
13376
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = true;
13408
_dataGridViewOper
[
OperationInDisplayIndexAdjustments] = false;
13506
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
13817
_dataGridViewOper
[
OperationTrackColSelect] = true;
14021
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
14354
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
14374
_dataGridViewState2
[
State2_UsedFillWeightsDirty] = true;
14686
_dataGridViewState2
[
State2_RaiseSelectionChanged] = true;
15011
_dataGridViewState1
[
State1_LeavingWithTabKey] = false;
15088
_dataGridViewState1
[
State1_AmbientColumnHeadersFont] = true;
15096
_dataGridViewState1
[
State1_AmbientRowHeadersFont] = true;
15104
_dataGridViewState1
[
State1_AmbientFont] = true;
15122
_dataGridViewState1
[
State1_AmbientForeColor] = true;
15241
_dataGridViewState2
[
State2_AutoSizedWithoutHandle] = false;
15535
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = true;
16092
_dataGridViewOper
[
OperationTrackMouseMoves] = true;
16139
_dataGridViewState2
[
State2_MouseOverRemovedEditingCtrl] = false;
16140
_dataGridViewState2
[
State2_MouseOverRemovedEditingPanel] = false;
16141
_dataGridViewState2
[
State2_MouseEnterExpected] = false;
16149
_dataGridViewState1
[
State1_CustomCursorSet] = false;
16171
_dataGridViewOper
[
OperationTrackMouseMoves] = false;
16177
_dataGridViewState2
[
State2_MouseEnterExpected] = true;
16227
_dataGridViewState1
[
State1_CustomCursorSet] = true;
16250
_dataGridViewState1
[
State1_CustomCursorSet] = true;
16259
_dataGridViewState1
[
State1_CustomCursorSet] = false;
16342
_dataGridViewState1
[
State1_ScrolledSinceMouseDown] = false;
17025
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = false;
17080
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = true;
17228
_dataGridViewState2
[
State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: true, columnIndex) > 0
17247
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = false;
17295
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = true;
17367
_dataGridViewState2
[
State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: false, rowIndexDeleted) > 0
17419
_dataGridViewState2
[
State2_ReplacedCellSelected] = _individualSelectedCells.Contains(dataGridViewCell);
17425
_dataGridViewState2
[
State2_ReplacedCellReadOnly] = _individualReadOnlyCells.Contains(dataGridViewCell);
17515
_dataGridViewState2
[
State2_RightToLeftValid] = false;
17656
_dataGridViewState1
[
State1_NewRowEdited] = false;
17664
_dataGridViewState1
[
State1_NewRowEdited] = true;
18099
_dataGridViewOper
[
OperationTrackRowSelect] = true;
18762
_dataGridViewState1
[
State1_NewRowCreatedByEditing] = false;
18857
_dataGridViewState2
[
State2_StopRaisingVerticalScroll] = true;
18880
_dataGridViewState2
[
State2_StopRaisingVerticalScroll] = false;
18890
_dataGridViewState2
[
State2_StopRaisingHorizontalScroll] = true;
18895
_dataGridViewState2
[
State2_StopRaisingHorizontalScroll] = false;
18906
_dataGridViewState2
[
State2_RaiseSelectionChanged] = false;
19026
_dataGridViewState2
[
State2_DiscardEditingControl] = true;
19810
_dataGridViewState1
[
State1_EditingControlChanging] = true;
19854
_dataGridViewState1
[
State1_EditingControlHidden] = true;
19898
_dataGridViewState1
[
State1_EditingControlHidden] = false;
19909
_dataGridViewState1
[
State1_EditingControlChanging] = false;
20108
_dataGridViewState1
[
State1_LeavingWithTabKey] = true;
21907
_dataGridViewState1
[
State1_ForwardCharMessage] = true;
21919
_dataGridViewState1
[
State1_ForwardCharMessage] = false;
21968
_dataGridViewState2
[
State2_CurrentCellWantsInputKey] =
21988
_dataGridViewState2
[
State2_CurrentCellWantsInputKey] = true;
25424
_dataGridViewOper
[
OperationInRefreshColumns] = true;
25457
_dataGridViewOper
[
OperationInRefreshColumns] = false;
25524
_dataGridViewState2
[
State2_RowsCollectionClearedInSetCell] = true;
25837
_dataGridViewOper
[
OperationMouseOperationMask] = false;
25838
_dataGridViewOper
[
OperationTrackColSelect] = false;
25839
_dataGridViewOper
[
OperationTrackRowSelect] = false;
25840
_dataGridViewOper
[
OperationTrackCellSelect] = false;
25860
_dataGridViewState2
[
State2_ShowColumnRelocationInsertion] = false;
25877
_dataGridViewOper
[
OperationKeyboardOperationMask] = false;
26243
_dataGridViewState1
[
State1_ScrolledSinceMouseDown] = true;
26358
_dataGridViewState1
[
State1_ScrolledSinceMouseDown] = true;
26774
_dataGridViewOper
[
OperationInCurrentCellChange] = true;
26787
_dataGridViewState1
[
State1_TemporarilyResetCurrentCell] = false;
26875
_dataGridViewState2
[
State2_RowsCollectionClearedInSetCell] = false;
26980
_dataGridViewState2
[
State2_RowsCollectionClearedInSetCell] = false;
27099
_dataGridViewState2
[
State2_DiscardEditingControl] = false;
27126
_dataGridViewOper
[
OperationInCurrentCellChange] = false;
27552
_dataGridViewOper
[
OperationInReadOnlyChange] = true;
27557
_dataGridViewOper
[
OperationInReadOnlyChange] = false;
27589
_dataGridViewOper
[
OperationInReadOnlyChange] = true;
27594
_dataGridViewOper
[
OperationInReadOnlyChange] = false;
28222
_dataGridViewOper
[
OperationInSort] = true;
28322
_dataGridViewOper
[
OperationInSort] = false;
30068
_dataGridViewOper
[
OperationInMouseDown] = true;
30075
_dataGridViewOper
[
OperationInMouseDown] = false;
System\Windows\Forms\Controls\ListView\ListView.cs (55)
315
_listViewState
[
LISTVIEWSTATE_allowColumnReorder] = value;
340
_listViewState
[
LISTVIEWSTATE_autoArrange] = value;
388
_listViewState
[
LISTVIEWSTATE_backgroundImageTiled] = value;
470
_listViewState
[
LISTVIEWSTATE_checkBoxes] = value;
515
_listViewState
[
LISTVIEWSTATE_checkBoxes] = value;
862
_listViewState
[
LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] = value;
884
_listViewState
[
LISTVIEWSTATE_fullRowSelect] = value;
908
_listViewState
[
LISTVIEWSTATE_gridLines] = value;
1013
_listViewState
[
LISTVIEWSTATE_nonclickHdr] = !_listViewState[LISTVIEWSTATE_nonclickHdr];
1042
_listViewState
[
LISTVIEWSTATE_hideSelection] = value;
1061
_listViewState
[
LISTVIEWSTATE_hotTracking] = value;
1095
_listViewState
[
LISTVIEWSTATE_hoverSelection] = value;
1130
_listViewState
[
LISTVIEWSTATE_itemCollectionChangedInMouseDown] = value;
1164
_listViewState
[
LISTVIEWSTATE_labelEdit] = value;
1187
_listViewState
[
LISTVIEWSTATE_labelWrap] = value;
1242
_listViewState
[
LISTVIEWSTATE_handleDestroyed] = value;
1289
_listViewState
[
LISTVIEWSTATE_multiSelect] = value;
1313
_listViewState
[
LISTVIEWSTATE_ownerDraw] = value;
1372
_listViewState
[
LISTVIEWSTATE_scrollable] = value;
1423
_listViewState
[
LISTVIEWSTATE_showGroups] = value;
1489
_listViewState
[
LISTVIEWSTATE_showItemToolTips] = value;
1796
_listViewState1
[
LISTVIEWSTATE1_useCompatibleStateImageBehavior] = value;
1946
_listViewState
[
LISTVIEWSTATE_virtualMode] = value;
2966
_listViewState1
[
LISTVIEWSTATE1_disposingImageLists] = true;
2998
_listViewState1
[
LISTVIEWSTATE1_disposingImageLists] = false;
3155
set => _listViewState1
[
LISTVIEWSTATE1_clearingInnerListOnDispose] = value;
4113
_listViewState1
[
LISTVIEWSTATE1_insertingItemsNatively] = true;
4238
_listViewState1
[
LISTVIEWSTATE1_insertingItemsNatively] = false;
4244
_listViewState1
[
LISTVIEWSTATE1_selectedIndexChangedSkipped] = false;
5947
_listViewState
[
LISTVIEWSTATE_mouseUpFired] = false;
5948
_listViewState
[
LISTVIEWSTATE_expectingMouseUp] = true;
6096
_listViewState
[
LISTVIEWSTATE_columnClicked] = false;
6102
_listViewState
[
LISTVIEWSTATE_headerControlTracking] = true;
6105
_listViewState1
[
LISTVIEWSTATE1_cancelledColumnWidthChanging] = false;
6107
_listViewState1
[
LISTVIEWSTATE1_cancelledColumnWidthChanging] = false;
6141
_listViewState
[
LISTVIEWSTATE_columnResizeCancelled] = true;
6144
_listViewState1
[
LISTVIEWSTATE1_cancelledColumnWidthChanging] = true;
6212
_listViewState
[
LISTVIEWSTATE_headerControlTracking] = false;
6225
_listViewState1
[
LISTVIEWSTATE1_cancelledColumnWidthChanging] = false;
6308
_listViewState
[
LISTVIEWSTATE_headerDividerDblClick] = true;
6312
_listViewState
[
LISTVIEWSTATE_columnResizeCancelled] = false;
6327
_listViewState
[
LISTVIEWSTATE_headerDividerDblClick] = false;
6329
_listViewState
[
LISTVIEWSTATE_columnResizeCancelled] = false;
6492
_listViewState
[
LISTVIEWSTATE_inLabelEdit] = !cancelEdit;
6506
_listViewState
[
LISTVIEWSTATE_columnClicked] = true;
6538
_listViewState
[
LISTVIEWSTATE_inLabelEdit] = false;
6689
_listViewState1
[
LISTVIEWSTATE1_selectedIndexChangedSkipped] = false;
6694
_listViewState1
[
LISTVIEWSTATE1_selectedIndexChangedSkipped] = true;
6723
_listViewState
[
LISTVIEWSTATE_mouseUpFired] = true;
6738
_listViewState
[
LISTVIEWSTATE_doubleclickFired] = true;
6742
_listViewState
[
LISTVIEWSTATE_mouseUpFired] = false;
7045
_listViewState
[
LISTVIEWSTATE_doubleclickFired] = false;
7053
_listViewState
[
LISTVIEWSTATE_expectingMouseUp] = false;
7058
_listViewState
[
LISTVIEWSTATE_mouseUpFired] = true;
7079
_listViewState
[
LISTVIEWSTATE_mouseUpFired] = true;
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (15)
170
_pictureBoxState
[
CancellationPendingState] = true;
252
_pictureBoxState
[
UseDefaultErrorImageState] = false;
319
_pictureBoxState
[
NeedToLoadImageLocationState] = !string.IsNullOrEmpty(_imageLocation);
410
_pictureBoxState
[
UseDefaultInitialImageState] = false;
466
_pictureBoxState
[
NeedToLoadImageLocationState] = false;
530
_pictureBoxState
[
AsyncOperationInProgressState] = true;
546
_pictureBoxState
[
NeedToLoadImageLocationState] = false;
547
_pictureBoxState
[
CancellationPendingState] = false;
638
_pictureBoxState
[
CancellationPendingState] = false;
639
_pictureBoxState
[
AsyncOperationInProgressState] = false;
764
_pictureBoxState
[
UseDefaultInitialImageState] = true;
770
_pictureBoxState
[
UseDefaultErrorImageState] = true;
1191
set => _pictureBoxState
[
WaitOnLoadState] = value;
1196
_pictureBoxState
[
InInitializationState] = true;
1214
_pictureBoxState
[
InInitializationState] = false;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (45)
112
_flagState
[
s_isNullMask] = true;
124
_flagState
[
s_isNullMask] = false;
135
_flagState
[
s_isNullMask] = false;
160
_flagState
[
s_hidePromptOnLeave] = false;
161
_flagState
[
s_beepOnError] = false;
162
_flagState
[
s_useSystemPasswordChar] = false;
163
_flagState
[
s_rejectInputOnFirstFailure] = false;
167
_flagState
[
s_cutCopyIncludePrompt] = _maskedTextProvider.IncludePrompt;
168
_flagState
[
s_cutCopyIncludeLiterals] = _maskedTextProvider.IncludeLiterals;
171
_flagState
[
s_handleKeyPress] = true;
279
_flagState
[
s_beepOnError] = value;
402
_flagState
[
s_cutCopyIncludePrompt] = true;
403
_flagState
[
s_cutCopyIncludeLiterals] = false;
407
_flagState
[
s_cutCopyIncludePrompt] = false;
408
_flagState
[
s_cutCopyIncludeLiterals] = true;
413
_flagState
[
s_cutCopyIncludePrompt] = include;
414
_flagState
[
s_cutCopyIncludeLiterals] = include;
454
_flagState
[
s_hidePromptOnLeave] = value;
602
_flagState
[
s_queryBaseText] = true;
609
_flagState
[
s_queryBaseText] = false;
661
_flagState
[
s_isNullMask] = true;
964
_flagState
[
s_rejectInputOnFirstFailure] = value;
1062
_flagState
[
s_imeCompleting] = true;
1412
_flagState
[
s_useSystemPasswordChar] = value;
1616
_flagState
[
s_queryBaseText] = true;
1623
_flagState
[
s_queryBaseText] = false;
1636
_flagState
[
s_queryBaseText] = true;
1643
_flagState
[
s_queryBaseText] = false;
1731
_flagState
[
s_queryBaseText] = true;
1738
_flagState
[
s_queryBaseText] = false;
1752
_flagState
[
s_queryBaseText] = true;
1759
_flagState
[
s_queryBaseText] = false;
1853
_flagState
[
s_handleKeyPress] = false;
1860
_flagState
[
s_insertToggled] = !_flagState[s_insertToggled];
1888
_flagState
[
s_handleKeyPress] = false;
1928
_flagState
[
s_handleKeyPress] = true;
1963
_flagState
[
s_handleKeyPress] = true;
2027
_flagState
[
s_imeCompleting] = false;
2032
_flagState
[
s_imeEndingComposition] = false;
2141
_flagState
[
s_queryBaseText] = false;
2148
_flagState
[
s_queryBaseText] = queryBaseText;
2581
_flagState
[
s_isNullMask] = false;
2638
_flagState
[
s_queryBaseText] = true;
2661
_flagState
[
s_queryBaseText] = false;
2943
_flagState
[
s_imeEndingComposition] = true;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (22)
94
_textBoxFlags
[
s_autoSize | s_hideSelection | s_wordWrap | s_shortcutsEnabled] = true;
127
_textBoxFlags
[
s_acceptsTab] = value;
165
_textBoxFlags
[
s_shortcutsEnabled] = value;
257
_textBoxFlags
[
s_autoSize] = value;
531
_textBoxFlags
[
s_hideSelection] = value;
671
_textBoxFlags
[
s_modified] = curState;
694
_textBoxFlags
[
s_modified] = value;
729
_textBoxFlags
[
s_multiline] = value;
933
_textBoxFlags
[
s_readOnly] = value;
1113
_textBoxFlags
[
s_codeUpdateText] = true;
1120
_textBoxFlags
[
s_codeUpdateText] = false;
1135
_textBoxFlags
[
s_codeUpdateText] = true;
1149
_textBoxFlags
[
s_codeUpdateText] = false;
1173
_textBoxFlags
[
s_wordWrap] = value;
1299
_textBoxFlags
[
s_creatingHandle] = true;
1309
_textBoxFlags
[
s_creatingHandle] = false;
1395
_textBoxFlags
[
s_scrollToCaretOnHandleCreated] = false;
1401
_textBoxFlags
[
s_modified] = Modified;
1402
_textBoxFlags
[
s_setSelectionOnHandleCreated] = true;
1636
_textBoxFlags
[
s_scrollToCaretOnHandleCreated] = true;
1764
_textBoxFlags
[
s_setSelectionOnHandleCreated] = true;
1860
_textBoxFlags
[
s_setSelectionOnHandleCreated] = false;
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (4)
39
_state
[
s_stateSizingGrip] = true;
187
_state
[
s_stateSizingGrip] = value;
324
_state
[
s_stateCalledSpringTableLayout] = false;
444
_state
[
s_stateCalledSpringTableLayout] = true;
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
333
_state
[
s_stateLastDoubleBuffer] = DoubleBuffered;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (7)
76
_state
[
s_stateAllowTransparency] = value;
78
_state
[
s_stateLayered] = _state[s_stateAllowTransparency];
579
_state
[
s_stateLayered] = true;
583
_state
[
s_stateLayered] = false;
870
set => _state
[
s_stateNotWorkingAreaConstrained] = !value;
1562
_state
[
s_stateInSetVisibleCore] = true;
1780
_state
[
s_stateInSetVisibleCore] = false;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (4)
174
_state
[
s_stateShowImageMargin] = value;
191
_state
[
s_stateShowCheckMargin] = value;
458
_state
[
s_stateMaxItemSizeValid] = true;
534
_state
[
s_stateShowImageMargin] = true;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
23
_options
[
s_optionsDottedBorder | s_optionsDottedGrip | s_optionsFillWhenSelected] = !systemRenderMode;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (34)
151
_state
[
s_stateEnabled | s_stateAutoSize | s_stateVisible | s_stateConstructing | s_stateSupportsItemClick | s_stateInvalidMirroredImage | s_stateMouseDownAndUpMustBeInSameItem | s_stateUseAmbientMargin] = true;
152
_state
[
s_stateAllowDrop | s_stateMouseDownAndNoDrag | s_stateSupportsRightClick | s_statePressed | s_stateSelected | s_stateDisposed | s_stateDoubleClickEnabled | s_stateRightToLeftAutoMirrorImage | s_stateSupportsSpaceKey] = false;
157
_state
[
s_stateConstructing] = false;
318
_state
[
s_stateAllowDrop] = value;
339
_state
[
s_stateAutoSize] = value;
356
set => _state
[
s_stateAutoToolTip] = value;
751
set => _state
[
s_stateDoubleClickEnabled] = value;
818
_state
[
s_stateEnabled] = value;
823
_state
[
s_stateSelected | s_statePressed] = false;
1038
_state
[
s_stateInvalidMirroredImage] = true;
1073
_state
[
s_stateInvalidMirroredImage] = true;
1135
_state
[
s_stateInvalidMirroredImage] = true;
1166
_state
[
s_stateInvalidMirroredImage] = true;
1275
_state
[
s_stateUseAmbientMargin] = false;
1312
set => _state
[
s_stateMouseDownAndUpMustBeInSameItem] = value;
1704
_state
[
s_stateRightToLeftAutoMirrorImage] = value;
1726
_state
[
s_stateInvalidMirroredImage] = false;
1821
set => _state
[
s_stateSupportsRightClick] = value;
1827
set => _state
[
s_stateSupportsItemClick] = value;
1833
set => _state
[
s_stateSupportsSpaceKey] = value;
1839
set => _state
[
s_stateSupportsDisabledHotTracking] = value;
2055
_state
[
s_stateCurrentlyAnimatingImage] = animate;
2094
_state
[
s_stateDisposing] = true;
2102
_state
[
s_stateDisposed] = true;
2114
_state
[
s_stateDisposing] = false;
2418
_state
[
s_statePressed] = true;
2439
_state
[
s_statePressed] = false;
2529
_state
[
s_stateMouseDownAndNoDrag | s_statePressed | s_stateSelected] = false;
2549
_state
[
s_stateMouseDownAndNoDrag] = !BeginDragForItemReorder();
3037
_state
[
s_statePressed] = push;
3147
_state
[
s_stateSelected] = true;
3226
_state
[
s_stateVisible] = visible;
3406
_state
[
s_stateUseAmbientMargin] = true;
3538
_state
[
s_stateSelected] = false;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (12)
45
_state
[
s_stateLocked | s_stateBeginInit | s_stateChangingZOrder] = false;
188
_state
[
s_stateLocked] = value;
359
_state
[
s_stateBeginInit] = true;
364
_state
[
s_stateBeginInit] = false;
365
_state
[
s_stateEndInit] = true;
375
_state
[
s_stateEndInit] = false;
498
_state
[
s_stateLayoutSuspended] = true;
504
_state
[
s_stateLayoutSuspended] = false;
550
_state
[
s_stateRightToLeftChanged] = true;
660
_state
[
s_stateRightToLeftChanged] = false;
754
_state
[
s_stateInJoin] = true;
760
_state
[
s_stateInJoin] = false;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (8)
53
_state
[
s_stateVisible] = visible;
54
_state
[
s_stateDisposing | s_stateLocked | s_stateInitialized] = false;
106
set => _state
[
s_stateCachedBoundsMode] = value;
193
_state
[
s_stateInitialized] = value;
281
_state
[
s_stateDisposing] = true;
287
_state
[
s_stateDisposing] = false;
370
_state
[
s_stateInLayout] = true;
401
_state
[
s_stateInLayout] = false;
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (9)
29
_state
[
s_stateUseDefaultRenderer] = true;
30
_state
[
s_stateAttachedRendererChanged] = false;
51
_state
[
s_stateUseDefaultRenderer] = false;
65
_state
[
s_stateUseDefaultRenderer] = value is null;
115
_state
[
s_stateUseDefaultRenderer] = true;
121
_state
[
s_stateUseDefaultRenderer] = false;
147
_state
[
s_stateAttachedRendererChanged] = false;
160
_state
[
s_stateAttachedRendererChanged] = true;
168
_state
[
s_stateAttachedRendererChanged] = false;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
283
set => _treeNodeState
[
TREENODESTATE_isChecked] = value;
System\Windows\Forms\Controls\TreeView\TreeView.cs (31)
281
_treeViewState
[
TREEVIEWSTATE_checkBoxes] = value;
428
_treeViewState
[
TREEVIEWSTATE_doubleBufferedPropertySet] = true;
465
_treeViewState
[
TREEVIEWSTATE_fullRowSelect] = value;
488
_treeViewState
[
TREEVIEWSTATE_hideSelection] = value;
512
_treeViewState
[
TREEVIEWSTATE_hotTracking] = value;
837
_treeViewState
[
TREEVIEWSTATE_labelEdit] = value;
986
_treeViewState
[
TREEVIEWSTATE_scrollable] = value;
1141
_treeViewState
[
TREEVIEWSTATE_showLines] = value;
1163
_treeViewState
[
TREEVIEWSTATE_showNodeToolTips] = value;
1186
_treeViewState
[
TREEVIEWSTATE_showPlusMinus] = value;
1209
_treeViewState
[
TREEVIEWSTATE_showRootLines] = value;
1233
_treeViewState
[
TREEVIEWSTATE_sorted] = value;
1928
_treeViewState
[
TREEVIEWSTATE_stopResizeWindowMsgs] = true;
1959
_treeViewState
[
TREEVIEWSTATE_stopResizeWindowMsgs] = false;
3050
_treeViewState
[
TREEVIEWSTATE_showTreeViewContextMenu] = true;
3066
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = true;
3236
_treeViewState
[
TREEVIEWSTATE_doubleclickFired] = true;
3239
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3247
_treeViewState
[
TREEVIEWSTATE_ignoreSelects] = true;
3252
_treeViewState
[
TREEVIEWSTATE_ignoreSelects] = false;
3256
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3319
_treeViewState
[
TREEVIEWSTATE_doubleclickFired] = false;
3334
_treeViewState
[
TREEVIEWSTATE_doubleclickFired] = false;
3335
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3343
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3348
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3362
_treeViewState
[
TREEVIEWSTATE_doubleclickFired] = true;
3365
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3372
_treeViewState
[
TREEVIEWSTATE_mouseUpFired] = false;
3394
_treeViewState
[
TREEVIEWSTATE_lastControlValidated] = false;
3408
_treeViewState
[
TREEVIEWSTATE_showTreeViewContextMenu] = false;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (8)
79
_webBrowserState
[
WEBBROWSERSTATE_allowNavigation] = value;
154
set => _webBrowserState
[
WEBBROWSERSTATE_webBrowserShortcutsEnabled] = value;
177
_webBrowserState
[
WEBBROWSERSTATE_canGoBack] = value;
203
_webBrowserState
[
WEBBROWSERSTATE_canGoForward] = value;
287
_webBrowserState
[
WEBBROWSERSTATE_documentStreamJustSet] = true;
293
_webBrowserState
[
WEBBROWSERSTATE_documentStreamJustSet] = false;
461
set => _webBrowserState
[
WEBBROWSERSTATE_isWebBrowserContextMenuEnabled] = value;
890
_webBrowserState
[
WEBBROWSERSTATE_scrollbarsEnabled] = value;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
579
internal void SetAXHostState(int mask, bool value) => _axHostState
[
mask] = value;
System\Windows\Forms\Layout\ArrangedElement.cs (2)
24
_state
[
s_stateVisible] = true;
139
_state
[
s_stateVisible] = value;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (10)
753
_state
[
s_stateScalingNeededOnLayout] = true;
819
_state
[
s_stateScalingChild] = true;
826
_state
[
s_stateScalingChild] = false;
916
_state
[
s_stateParentChanged] = !RequiredScalingEnabled;
990
_state
[
s_stateScalingNeededOnLayout] = false;
994
_state
[
s_stateParentChanged] = false;
1258
_state
[
s_stateProcessingMnemonic] = true;
1305
_state
[
s_stateProcessingMnemonic] = false;
1884
_state
[
s_stateValidating] = true;
1950
_state
[
s_stateValidating] = false;
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (5)
278
_state
[
s_stateChildInfoValid] = true;
320
_state
[
s_stateValid] = value;
323
_state
[
s_stateChildInfoValid] = false;
362
set { _state
[
s_stateChildHasColumnSpan] = value; }
368
set { _state
[
s_stateChildHasRowSpan] = value; }
System.Windows.Forms.Design (37)
System\ComponentModel\Design\DesignerHost.cs (6)
108
set { _state
[
s_stateIsClosingTransaction] = value; }
333
_state
[
s_stateLoading] = true;
711
_state
[
s_stateUnloading] = true;
780
_state
[
s_stateUnloading] = false;
1051
_state
[
s_stateLoading] = false;
1116
_state
[
s_stateLoading] = true;
System\ComponentModel\Design\SelectionService.cs (4)
94
_state
[
s_stateTransactionChange] = false;
125
_state
[
s_stateTransactionChange] = true;
157
_state
[
s_stateTransaction] = false;
166
private void OnTransactionOpened(object? sender, EventArgs e) => _state
[
s_stateTransaction] = true;
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (25)
50
_state
[
s_stateFlushInProgress] = false;
51
_state
[
s_stateReloadSupported] = true;
52
_state
[
s_stateEnableComponentEvents] = false;
70
set => _state
[
s_stateModified] = value;
162
_state
[
s_stateLoaded | s_stateLoadFailed] = false;
288
_state
[
s_stateFlushInProgress] = true;
335
_state
[
s_stateFlushInProgress] = false;
413
_state
[
s_stateLoaded] = false;
442
_state
[
s_stateEnableComponentEvents] = true;
446
_state
[
s_stateEnableComponentEvents] = false;
577
_state
[
s_stateActiveDocument] = true;
584
_state
[
s_stateDeferredReload] = false;
609
private void OnDesignerDeactivate(object? sender, EventArgs e) => _state
[
s_stateActiveDocument] = false;
633
_state
[
s_stateLoaded] = true;
729
_state
[
s_stateReloadAtIdle] = false;
741
_state
[
s_stateActiveDocument] = false;
742
_state
[
s_stateDeferredReload] = true; // reload on activate
771
_state
[
s_stateForceReload | s_stateModifyIfErrors | s_stateFlushReload] = false;
809
_state
[
s_stateForceReload] = ((flags & ReloadOptions.Force) != 0);
810
_state
[
s_stateFlushReload] = ((flags & ReloadOptions.NoFlush) == 0);
811
_state
[
s_stateModifyIfErrors] = ((flags & ReloadOptions.ModifyOnError) != 0);
824
_state
[
s_stateDeferredReload] = true;
834
_state
[
s_stateReloadAtIdle] = true;
888
_state
[
s_stateLoaded] = false;
929
_state
[
s_stateLoadFailed] = true;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (2)
106
_state
[
s_stateOwnTypeResolution] = false;
604
_state
[
s_stateOwnTypeResolution] = true;
697 references to
Microsoft.CodeAnalysis.EditorFeatures (4)
IntelliSense\AsyncCompletion\FilterSet.cs (4)
176
Debug.Assert(!_vector
[
s_expanderMask] || (_supportExpander && _vector
[
s_expanderMask]));
185
builder.Add(new CompletionFilterWithState(Expander, isAvailable: true, isSelected: _vector
[
s_expanderMask]));
189
if (_vector
[
filterWithMask.Mask])
PresentationCore (1)
System\Windows\RoutedEventArgs.cs (1)
355
return _flags
[
InvokingHandlerIndex];
PresentationFramework (1)
System\Windows\Interop\ActiveXHost.cs (1)
380
return _axHostState
[
mask];
System.ComponentModel.TypeConverter (7)
System\ComponentModel\MaskedTextProvider.cs (7)
438
public bool AllowPromptAsInput => _flagState
[
s_ALLOW_PROMPT_AS_INPUT];
559
return _flagState
[
s_INCLUDE_LITERALS];
575
return _flagState
[
s_INCLUDE_PROMPT];
586
public bool AsciiOnly => _flagState
[
s_ASCII_ONLY];
738
return _flagState
[
s_RESET_ON_PROMPT];
757
return _flagState
[
s_SKIP_SPACE];
777
return _flagState
[
s_RESET_ON_LITERALS];
System.Windows.Forms (648)
System\Windows\Forms\ActiveX\AxHost.cs (48)
210
if (_axState
[
s_fOwnWindow] && IsUserMode())
221
return _axState
[
mask];
380
return (_axState
[
s_fOwnWindow] && (ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING)))
423
if (containingControl.Visible && Visible && !_axState
[
s_fOwnWindow])
815
private bool OwnWindow() => _axState
[
s_fOwnWindow] || _axState
[
s_fFakingWindow];
821
if (_axState
[
s_addedSelectionHandler])
849
if (!_axState
[
s_addedSelectionHandler])
865
if (DesignMode && hook != _axState
[
s_renameEventHooked])
891
if (_axState
[
s_disposed])
931
if (olduMode != newuMode && !IsHandleCreated && !_axState
[
s_disposed])
1023
if (_axState
[
s_fOwnWindow])
1029
else if (_axState
[
s_fNeedOwnWindow])
1046
if (_axState
[
s_fNeedOwnWindow])
1193
if (_axState
[
s_fFakingWindow])
1223
if (_axState
[
s_manualUpdate])
1266
WindowAssignHandle(handle, _axState
[
s_assignUniqueID]);
1278
if (_axState
[
s_fOwnWindow])
1290
if (_axState
[
s_inTransition])
1312
if (_axState
[
s_fFakingWindow])
1350
if (_axState
[
s_inTransition])
1383
Debug.Assert(!_axState
[
s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING");
1384
if (!_axState
[
s_fOwnWindow])
1408
if (!IsUserMode() && !_axState
[
s_ocxStateSet])
1494
Debug.Assert(_axState
[
s_fFakingWindow], "have to be faking it in order to destroy it...");
1541
if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !_axState
[
s_fOwnWindow])
1546
if (_axState
[
s_fFakingWindow])
1577
Debug.Assert(!_axState
[
s_fFakingWindow], "if we were visible, we could not have had a fake window...");
1587
if (!_axState
[
s_fOwnWindow])
1621
Debug.Assert(!_axState
[
s_fOwnWindow], "can't own our window when hiding");
1674
if (_axState
[
s_siteProcessedInputKey])
1723
return _axState
[
s_siteProcessedInputKey] && base.PreProcessMessage(ref msg);
1825
Debug.Assert(!_axState
[
s_disposed], "we could not be asking for the object when we are axState[disposed]...");
2018
if (_axState
[
s_valueChanged])
2185
bool ownDispose = _axState
[
s_ownDisposing];
2215
if (_licenseKey is not null || !_axState
[
s_needLicenseKey])
2431
if (!_axState
[
s_editorRefresh] && HasPropertyPages())
2510
if (_axState
[
s_refreshProperties])
2520
return _axState
[
s_refreshProperties];
2525
if (value && !_axState
[
s_listeningToIdle])
2530
else if (!value && _axState
[
s_listeningToIdle])
2873
if (!_axState
[
s_sinkAttached])
2891
if (_axState
[
s_sinkAttached])
3167
if (_axState
[
s_processingKeyUp])
3240
if (!_axState
[
s_fFakingWindow])
3242
WindowAssignHandle(hwnd, _axState
[
s_assignUniqueID]);
3384
=> GetControlEnabled() && !_axState
[
s_rejectSelection] && base.CanSelectCore();
3410
private bool GetSiteOwnsDeactivation() => _axState
[
s_ownDisposing];
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (30)
263
get => _activeXState
[
s_eventsFrozen];
313
if (_activeXState
[
s_inPlaceActive])
319
&& _activeXState
[
s_isDirty])
391
if (_activeXState
[
s_inPlaceVisible])
556
if (_activeXState
[
s_viewAdviseOnlyOnce])
561
if (_activeXState
[
s_viewAdvisePrimeFirst])
754
if (!_activeXState
[
s_inPlaceActive])
797
if (!_activeXState
[
s_inPlaceActive])
816
if (!_activeXState
[
s_inPlaceVisible])
867
Debug.Assert(_activeXState
[
s_inPlaceVisible], "Failed to set inplacevisible");
877
if (_activeXState
[
s_uiActive])
933
if (!_activeXState
[
s_inPlaceActive])
939
if (_activeXState
[
s_uiActive])
969
internal HRESULT IsDirty() => _activeXState
[
s_isDirty] ? HRESULT.S_OK : HRESULT.S_FALSE;
1313
if (_activeXState
[
s_uiActive] && fActivate && _inPlaceFrame is not null)
1330
if (_activeXState
[
s_inPlaceActive] && _clientSite is not null)
1339
if (focus && _activeXState
[
s_inPlaceActive] && !_activeXState
[
s_uiActive])
1622
if (_activeXState
[
s_viewAdvisePrimeFirst])
1683
if (_activeXState
[
s_changingExtents])
1696
if (_activeXState
[
s_inPlaceActive] && _clientSite is not null)
1724
if (!_activeXState
[
s_inPlaceActive])
1730
if (!_activeXState
[
s_inPlaceActive] && _clientSite is not null)
1771
if (_activeXState
[
s_adjustingRect])
1932
if (!_activeXState
[
s_uiActive])
1984
if (_activeXState
[
s_adjustingRect] || !_activeXState
[
s_inPlaceVisible] || _clientSite is null)
2082
if (_viewAdviseSink is null || _activeXState
[
s_saving])
2089
if (_activeXState
[
s_viewAdviseOnlyOnce])
2105
if (_activeXState
[
s_uiDead])
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (53)
650
get => _dataGridViewState1
[
State1_AllowUserToAddRows];
683
get => _dataGridViewState1
[
State1_AllowUserToDeleteRows];
713
return _dataGridViewState1
[
State1_AllowUserToOrderColumns];
742
get => _dataGridViewState2
[
State2_AllowUserToResizeColumns];
770
get => _dataGridViewState2
[
State2_AllowUserToResizeRows];
837
get => _dataGridViewState1
[
State1_AutoGenerateColumns];
840
if (_dataGridViewState1
[
State1_AutoGenerateColumns] != value)
861
get => _dataGridViewState1
[
State1_IsAutoSized];
1327
get => _dataGridViewState2
[
State2_CellMouseDownInContentBounds];
1645
get => _dataGridViewState1
[
State1_ColumnHeadersVisible];
2267
get => _dataGridViewState2
[
State2_EnableHeadersVisualStyles];
2270
if (_dataGridViewState2
[
State2_EnableHeadersVisualStyles] != value)
2774
if (!_dataGridViewState2
[
State2_StopRaisingHorizontalScroll])
2836
=> _dataGridViewOper
[
OperationInAdjustFillingColumn] || _dataGridViewOper
[
OperationInAdjustFillingColumns];
2838
internal bool InBeginEdit => _dataGridViewOper
[
OperationInBeginEdit];
2842
get => _dataGridViewOper
[
OperationInDisplayIndexAdjustments];
2846
internal bool InEndEdit => _dataGridViewOper
[
OperationInEndEdit];
2851
internal bool InInitialization => _dataGridViewState2
[
State2_Initializing];
2853
internal bool InSortOperation => _dataGridViewOper
[
OperationInSort];
2856
public bool IsCurrentCellDirty => _dataGridViewState1
[
State1_EditedCellChanged];
2862
if (value != _dataGridViewState1
[
State1_EditedCellChanged])
2872
=> EditingControl is not null || _dataGridViewState1
[
State1_CurrentCellInEditMode];
2882
return _dataGridViewState1
[
State1_EditedRowChanged] || IsCurrentCellDirty;
2886
QuestionEventArgs qe = new(_dataGridViewState1
[
State1_EditedRowChanged] || IsCurrentCellDirty);
2897
if (value != _dataGridViewState1
[
State1_EditedRowChanged])
2909
private bool IsEscapeKeyEffective => _dataGridViewOper
[
OperationTrackColResize]
2910
|| _dataGridViewOper
[
OperationTrackRowResize]
2911
|| _dataGridViewOper
[
OperationTrackColHeadersResize]
2912
|| _dataGridViewOper
[
OperationTrackRowHeadersResize]
2913
|| _dataGridViewOper
[
OperationTrackColRelocation]
2917
|| _dataGridViewState1
[
State1_NewRowEdited];
2996
get => _dataGridViewState1
[
State1_MultiSelect];
3062
get => _dataGridViewState1
[
State1_ReadOnly];
3065
if (value == _dataGridViewState1
[
State1_ReadOnly])
3154
internal bool ResizingOperationAboutToStart => _dataGridViewOper
[
OperationResizingOperationAboutToStart];
3160
if (_dataGridViewState2
[
State2_RightToLeftValid])
3162
return _dataGridViewState2
[
State2_RightToLeftMode];
3167
return _dataGridViewState2
[
State2_RightToLeftMode];
3345
get => _dataGridViewState1
[
State1_RowHeadersVisible];
3752
if (!_dataGridViewState2
[
State2_Initializing]
3775
get => _dataGridViewState2
[
State2_ShowCellErrors];
3778
if (_dataGridViewState2
[
State2_ShowCellErrors] != value)
3828
get => _dataGridViewState2
[
State2_ShowCellToolTips];
3831
if (_dataGridViewState2
[
State2_ShowCellToolTips] != value)
3880
get => _dataGridViewState2
[
State2_ShowEditingIcon];
3916
get => _dataGridViewState2
[
State2_ShowRowErrors];
3977
get => _dataGridViewState1
[
State1_StandardTab];
3980
if (_dataGridViewState1
[
State1_StandardTab] != value)
4079
public Cursor? UserSetCursor => _dataGridViewState1
[
State1_CustomCursorSet]
4141
get => _dataGridViewState1
[
State1_VirtualMode];
4144
if (_dataGridViewState1
[
State1_VirtualMode] != value)
4936
if (_dataGridViewState2
[
State2_Initializing])
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (44)
103
public bool CancellingRowEdit => _dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit];
113
get => _dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager];
118
_dataConnectionState
[
DATACONNECTIONSTATE_interestedInRowEvents];
123
_dataConnectionState
[
DATACONNECTIONSTATE_listWasReset];
133
return !_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl]
134
&& _dataConnectionState
[
DATACONNECTIONSTATE_positionChangingInCurrencyManager];
139
_dataConnectionState
[
DATACONNECTIONSTATE_processingListChangedEvent];
142
_dataConnectionState
[
DATACONNECTIONSTATE_processingMetaDataChanges];
148
Debug.Assert(_dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit]);
149
return _dataConnectionState
[
DATACONNECTIONSTATE_restoreRow];
388
Debug.Assert(!_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew] || !_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew],
393
if (_dataConnectionState
[
DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] != _owner.AllowUserToAddRowsInternal)
412
if (!_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] && _owner.NewRowIndex == e.NewIndex)
417
if (_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew])
424
if (_dataConnectionState
[
DATACONNECTIONSTATE_rowValidatingInAddNew])
451
if (_dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit])
456
else if (_dataConnectionState
[
DATACONNECTIONSTATE_inEndCurrentEdit] ||
457
_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew])
475
if (_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] && CurrencyManager.List.Count == 0)
496
if (_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation] && _dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView])
513
Debug.Assert(_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew]);
523
if (_dataConnectionState
[
DATACONNECTIONSTATE_inDeleteOperation]
524
&& _dataConnectionState
[
DATACONNECTIONSTATE_itemAddedInDeleteOperation]
525
&& _dataConnectionState
[
DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView])
531
else if (!_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew]
532
&& _dataConnectionState
[
DATACONNECTIONSTATE_inEndCurrentEdit])
664
&& !_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl]
696
if (_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl])
716
_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] && // condition 2.
717
!_dataConnectionState
[
DATACONNECTIONSTATE_inAddNew] && // condition 2.
734
if (_dataConnectionState
[
DATACONNECTIONSTATE_rowValidatingInAddNew])
744
bool clearSelection = _dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit] && !_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew];
785
Debug.Assert(_dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp]);
824
if (!_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew])
1032
if (_dataConnectionState
[
DATACONNECTIONSTATE_dataConnection_inSetDataConnection])
1041
if (DataSource is ISupportInitializeNotification dsInit && _dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp])
1069
if (!_dataConnectionState
[
DATACONNECTIONSTATE_dataSourceInitializedHookedUp])
1341
if (_dataConnectionState
[
DATACONNECTIONSTATE_processingMetaDataChanges])
1357
&& !_dataConnectionState
[
DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager]
1390
if (!_dataConnectionState
[
DATACONNECTIONSTATE_finishedAddNew] && !_owner.IsCurrentRowDirty)
1392
if (!_dataConnectionState
[
DATACONNECTIONSTATE_cancellingRowEdit])
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (185)
884
if (_dataGridViewOper
[
OperationInAdjustFillingColumns])
988
if (_dataGridViewState2
[
State2_UsedFillWeightsDirty])
1249
if (!_dataGridViewState2
[
State2_UsedFillWeightsDirty])
2570
if (_dataGridViewOper
[
OperationInBeginEdit])
3089
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
3177
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
3187
|| (_dataGridViewState1
[
State1_NewRowEdited] && !_dataGridViewState1
[
State1_EditedRowChanged]))
3189
bool discardNewRow = _dataGridViewState1
[
State1_NewRowEdited];
3201
DataConnection!.CancelRowEdit(restoreRow: true, addNewFinished: _dataGridViewState1
[
State1_NewRowEdited]);
3250
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
3264
if (!IsCurrentRowDirty && _ptCurrentCell.Y == NewRowIndex - 1 && _dataGridViewState1
[
State1_NewRowCreatedByEditing])
3323
if (_dataGridViewOper
[
OperationInDispose])
3862
|| (_dataGridViewState1
[
State1_CurrentCellInEditMode] && ((IDataGridViewEditingCell)CurrentCellInternal).EditingCellValueChanged)) == IsCurrentCellDirty
3863
|| _dataGridViewState1
[
State1_IgnoringEditingChanges]);
3905
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
3943
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
3973
if (_dataGridViewOper
[
OperationInCellValidating])
5132
Debug.Assert(!_dataGridViewOper
[
OperationInDisplayIndexAdjustments]);
5630
if (_dataGridViewState2
[
State2_ShowColumnRelocationInsertion])
5841
if (_dataGridViewOper
[
OperationLastEditCtrlClickDoubled])
5914
if (_dataGridViewState2
[
State2_NextMouseUpIsDouble])
5988
Debug.Assert(!_dataGridViewState1
[
State1_CustomCursorSet]);
5994
if (_dataGridViewState2
[
State2_MouseEnterExpected])
6008
if (_dataGridViewState1
[
State1_CustomCursorSet])
6261
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
6789
if (_dataGridViewState2
[
State2_RaiseSelectionChanged])
8573
if (_dataGridViewOper
[
OperationTrackRowSelect])
8665
if (_dataGridViewOper
[
OperationTrackColSelect])
8798
if (_dataGridViewOper
[
OperationTrackCellSelect])
9627
Debug.Assert(_dataGridViewOper
[
OperationTrackColSelect] || _dataGridViewOper
[
OperationTrackCellSelect]);
9640
if (_dataGridViewOper
[
OperationTrackColSelect])
9648
else if (_dataGridViewOper
[
OperationTrackCellSelect])
9664
if (_dataGridViewOper
[
OperationTrackColSelect] && hti._col >= 0)
9668
else if (_dataGridViewOper
[
OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
10051
if (EditingControl is not null && _dataGridViewState1
[
State1_ForwardCharMessage])
10148
&& _dataGridViewState2
[
State2_AllowHorizontalScrollbar];
10432
&& !_dataGridViewState1
[
State1_EditingControlHidden]
10465
&& !_dataGridViewOper
[
OperationInRefreshColumns])
10500
&& !_dataGridViewState1
[
State1_EditingControlHidden]
10515
if (!_dataGridViewState1
[
State1_IgnoringEditingChanges])
11085
if (!_dataGridViewOper
[
OperationInBorderStyleChange])
11445
if (_dataGridViewState2
[
State2_InBindingContextChanged])
11901
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left)
11946
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left)
12145
if (_dataGridViewOper
[
OperationTrackMouseMoves])
12244
if (MultiSelect && _dataGridViewOper
[
OperationTrackMouseMoves])
12335
if (_dataGridViewOper
[
OperationTrackMouseMoves])
12447
if (MultiSelect && _dataGridViewOper
[
OperationTrackMouseMoves])
12541
if (_dataGridViewOper
[
OperationTrackMouseMoves])
12670
if (!_dataGridViewState1
[
State1_ScrolledSinceMouseDown]
12696
Debug.Assert(!_dataGridViewState2
[
State2_MessageFromEditingCtrls]);
12824
&& !_dataGridViewOper
[
OperationInReadOnlyChange])
12859
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1
[
State1_AmbientFont])
12864
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && _dataGridViewState1
[
State1_AmbientColumnHeadersFont])
12869
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && _dataGridViewState1
[
State1_AmbientRowHeadersFont])
12877
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1
[
State1_AmbientForeColor])
13250
if (DataSource is not null && !_dataGridViewOper
[
OperationInRefreshColumns])
13279
if (DataSource is not null && !_dataGridViewOper
[
OperationInRefreshColumns])
13324
if (DataSource is not null && e.Column.DataPropertyName.Length != 0 && !_dataGridViewOper
[
OperationInRefreshColumns])
13365
if (_dataGridViewOper
[
OperationInDisplayIndexAdjustments])
13421
Debug.Assert(_dataGridViewOper
[
OperationInDisplayIndexAdjustments]);
13431
Debug.Assert(_dataGridViewOper
[
OperationInDisplayIndexAdjustments]);
13815
if (MultiSelect && _dataGridViewOper
[
OperationTrackMouseMoves])
14437
&& !_dataGridViewOper
[
OperationInReadOnlyChange])
14542
|| (_dataGridViewState2
[
State2_CellMouseDownInContentBounds]
14596
if (!_dataGridViewState2
[
State2_IgnoreCursorChange])
14610
if (!_dataGridViewOper
[
OperationInDispose] && !IsDisposed)
14746
&& !_dataGridViewOper
[
OperationInReadOnlyChange])
14809
&& !_dataGridViewOper
[
OperationInReadOnlyChange])
14847
&& !_dataGridViewOper
[
OperationInReadOnlyChange])
14937
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls]
14938
&& !_dataGridViewOper
[
OperationInDispose]
15038
else if (!_dataGridViewOper
[
OperationInMouseDown])
15050
if (_ptCurrentCell.X > -1 && CurrentCellInternal.EditType is null && !_dataGridViewOper
[
OperationInMouseDown])
15058
else if (!_dataGridViewOper
[
OperationInMouseDown])
15085
if (_dataGridViewState1
[
State1_AmbientColumnHeadersFont] && ColumnHeadersDefaultCellStyle.Font != base.Font)
15093
if (_dataGridViewState1
[
State1_AmbientRowHeadersFont] && RowHeadersDefaultCellStyle.Font != base.Font)
15101
if (_dataGridViewState1
[
State1_AmbientFont] && DefaultCellStyle.Font != base.Font)
15119
if (_dataGridViewState1
[
State1_AmbientForeColor] && DefaultCellStyle.ForeColor != base.ForeColor)
15193
if (!_dataGridViewOper
[
OperationInCurrentCellChange]
15194
&& (!_dataGridViewOper
[
OperationInEndEdit] || EditMode != DataGridViewEditMode.EditOnEnter)
15195
&& (!_dataGridViewOper
[
OperationInMouseDown] || EditMode != DataGridViewEditMode.EditOnEnter)
15239
if (_dataGridViewState2
[
State2_AutoSizedWithoutHandle])
15761
if (_dataGridViewOper
[
OperationTrackKeyboardColResize] && (e.KeyData & Keys.Alt) != Keys.Alt)
15788
if (_dataGridViewState1
[
State1_EditingControlChanging])
15812
if (_ptCurrentCell.X > -1 && !_dataGridViewState1
[
State1_LeavingWithTabKey])
15824
if (!_dataGridViewState1
[
State1_LeavingWithTabKey])
15860
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls]
15861
&& !_dataGridViewOper
[
OperationInDispose]
15863
&& !_dataGridViewOper
[
OperationTrackColResize]
15864
&& !_dataGridViewOper
[
OperationTrackRowResize]
15865
&& !_dataGridViewOper
[
OperationTrackColHeadersResize]
15866
&& !_dataGridViewOper
[
OperationTrackRowHeadersResize])
15908
if (!_dataGridViewOper
[
OperationTrackColRelocation])
15951
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls]
15952
&& !_dataGridViewOper
[
OperationTrackColResize]
15953
&& !_dataGridViewOper
[
OperationTrackRowResize]
15954
&& !_dataGridViewOper
[
OperationTrackColHeadersResize]
15955
&& !_dataGridViewOper
[
OperationTrackRowHeadersResize])
15976
if (!_dataGridViewOper
[
OperationTrackColRelocation])
16090
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls])
16097
if (_dataGridViewState2
[
State2_MessageFromEditingCtrls])
16131
if (!_dataGridViewState2
[
State2_MouseOverRemovedEditingCtrl]
16132
&& !_dataGridViewState2
[
State2_MouseOverRemovedEditingPanel]
16133
&& _dataGridViewState2
[
State2_MouseEnterExpected]
16147
if (_dataGridViewState1
[
State1_CustomCursorSet])
16190
if (_dataGridViewOper
[
OperationTrackColResize])
16194
else if (_dataGridViewOper
[
OperationTrackRowResize])
16198
else if (_dataGridViewOper
[
OperationTrackColRelocation])
16202
else if (_dataGridViewOper
[
OperationTrackColHeadersResize])
16206
else if (_dataGridViewOper
[
OperationTrackRowHeadersResize])
16211
if (_dataGridViewOper
[
OperationTrackColResize]
16212
|| _dataGridViewOper
[
OperationTrackRowHeadersResize]
16219
&& !_dataGridViewOper
[
OperationTrackColHeadersResize]
16220
&& !_dataGridViewOper
[
OperationTrackColRelocation]
16221
&& !_dataGridViewOper
[
OperationTrackColSelect]
16222
&& !_dataGridViewOper
[
OperationTrackRowSelect]
16223
&& !_dataGridViewOper
[
OperationTrackCellSelect]))
16225
if (!_dataGridViewState1
[
State1_CustomCursorSet])
16234
else if (_dataGridViewOper
[
OperationTrackRowResize]
16235
|| _dataGridViewOper
[
OperationTrackColHeadersResize]
16242
&& !_dataGridViewOper
[
OperationTrackRowHeadersResize]
16243
&& !_dataGridViewOper
[
OperationTrackColRelocation]
16244
&& !_dataGridViewOper
[
OperationTrackColSelect]
16245
&& !_dataGridViewOper
[
OperationTrackRowSelect]
16246
&& !_dataGridViewOper
[
OperationTrackCellSelect]))
16248
if (!_dataGridViewState1
[
State1_CustomCursorSet])
16257
else if (_dataGridViewState1
[
State1_CustomCursorSet])
16263
if (_dataGridViewOper
[
OperationTrackColSelect] || _dataGridViewOper
[
OperationTrackRowSelect] || _dataGridViewOper
[
OperationTrackCellSelect])
16307
if (_dataGridViewOper
[
OperationTrackColSelect] && hti._col >= 0)
16311
else if (_dataGridViewOper
[
OperationTrackRowSelect] && hti._row >= 0)
16315
else if (_dataGridViewOper
[
OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
16340
if (!_dataGridViewState2
[
State2_MessageFromEditingCtrls])
16359
if (_dataGridViewState2
[
State2_NextMouseUpIsDouble])
16395
if (_dataGridViewOper
[
OperationTrackColResize])
16400
if (_dataGridViewOper
[
OperationTrackRowResize])
16405
if (_dataGridViewOper
[
OperationTrackColRelocation])
16410
if (_dataGridViewOper
[
OperationTrackColHeadersResize])
16415
if (_dataGridViewOper
[
OperationTrackRowHeadersResize])
16663
if (_dataGridViewOper
[
OperationInDispose] || IsDisposed)
17375
if (_dataGridViewState2
[
State2_ReplacedCellSelected])
17380
if (_dataGridViewState2
[
State2_ReplacedCellReadOnly])
17420
if (_dataGridViewState2
[
State2_ReplacedCellSelected])
17426
if (_dataGridViewState2
[
State2_ReplacedCellReadOnly])
18097
if (MultiSelect && _dataGridViewOper
[
OperationTrackMouseMoves])
18678
if (e.StateChanged == DataGridViewElementStates.ReadOnly && rowIndex == _ptCurrentCell.Y && !_dataGridViewOper
[
OperationInReadOnlyChange])
19043
if (!_dataGridViewState1
[
State1_LeavingWithTabKey])
19538
Debug.Assert(_dataGridViewOper
[
OperationTrackColHeadersResize] || _dataGridViewOper
[
OperationTrackRowResize]);
19543
Debug.Assert(_dataGridViewOper
[
OperationTrackRowHeadersResize]
19544
|| _dataGridViewOper
[
OperationTrackColResize]
19545
|| _dataGridViewOper
[
OperationTrackKeyboardColResize]);
19889
setLocation || _dataGridViewState1
[
State1_EditingControlHidden],
19890
setSize || _dataGridViewState1
[
State1_EditingControlHidden],
20128
if (_dataGridViewState1
[
State1_LeavingWithTabKey] && Focused)
21916
else if (_dataGridViewState1
[
State1_ForwardCharMessage]
21972
if (_dataGridViewState2
[
State2_CurrentCellWantsInputKey])
22020
if (_dataGridViewOper
[
OperationTrackKeyboardColResize] && _resizeClipRectangle.Contains(x, _resizeClipRectangle.Top))
25302
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
25494
Debug.Assert(_dataGridViewState1
[
State1_CurrentCellInEditMode]);
25522
if (_dataGridViewOper
[
OperationInCurrentCellChange])
25980
if (_dataGridViewState2
[
State2_MouseEnterExpected])
26375
if (!_dataGridViewState2
[
State2_StopRaisingVerticalScroll])
26768
if (_dataGridViewOper
[
OperationInCurrentCellChange] && // Allow the code to be re-entrant only as a result of
26785
if (_dataGridViewState1
[
State1_TemporarilyResetCurrentCell])
26903
if (_dataGridViewState2
[
State2_RowsCollectionClearedInSetCell])
26969
&& !_dataGridViewState1
[
State1_LeavingWithTabKey]
26971
&& !_dataGridViewState2
[
State2_RowsCollectionClearedInSetCell]
27017
&& !_dataGridViewState1
[
State1_TemporarilyResetCurrentCell]
27018
&& !_dataGridViewOper
[
OperationInDispose])
27093
if (_dataGridViewState1
[
State1_TemporarilyResetCurrentCell])
27097
if (_dataGridViewState2
[
State2_DiscardEditingControl])
27109
else if (oldCurrentCellX >= 0 && !_dataGridViewOper
[
OperationInDispose])
28321
Debug.Assert(_dataGridViewOper
[
OperationInSort]);
29862
Debug.Assert(_dataGridViewOper
[
OperationTrackRowSelect] || _dataGridViewOper
[
OperationTrackCellSelect]);
29877
if (_dataGridViewOper
[
OperationTrackRowSelect])
29885
else if (_dataGridViewOper
[
OperationTrackCellSelect])
29899
if (_dataGridViewOper
[
OperationTrackRowSelect] && hti._row >= 0)
29903
else if (_dataGridViewOper
[
OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
30107
_dataGridViewOper
[
OperationInDispose] || IsDisposed ? null : Events[staticEvent] as T;
System\Windows\Forms\Controls\ListView\ListView.cs (49)
308
return _listViewState
[
LISTVIEWSTATE_allowColumnReorder];
333
return _listViewState
[
LISTVIEWSTATE_autoArrange];
382
return _listViewState
[
LISTVIEWSTATE_backgroundImageTiled];
444
return _listViewState
[
LISTVIEWSTATE_checkBoxes];
773
return _listViewState
[
LISTVIEWSTATE_expectingMouseUp];
851
Debug.Assert(!_listViewState
[
LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || View == View.SmallIcon, "we need this bit only in SmallIcon view");
852
Debug.Assert(!_listViewState
[
LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || Application.ComCtlSupportsVisualStyles, "we need this bit only when loading ComCtl 6.0");
854
return _listViewState
[
LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon];
878
return _listViewState
[
LISTVIEWSTATE_fullRowSelect];
901
return _listViewState
[
LISTVIEWSTATE_gridLines];
1010
if ((_listViewState
[
LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Clickable) ||
1011
(!_listViewState
[
LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Nonclickable))
1013
_listViewState[LISTVIEWSTATE_nonclickHdr] = !_listViewState
[
LISTVIEWSTATE_nonclickHdr];
1035
return _listViewState
[
LISTVIEWSTATE_hideSelection];
1055
return _listViewState
[
LISTVIEWSTATE_hotTracking];
1083
return _listViewState
[
LISTVIEWSTATE_hoverSelection];
1105
return _listViewState1
[
LISTVIEWSTATE1_insertingItemsNatively];
1126
return _listViewState
[
LISTVIEWSTATE_itemCollectionChangedInMouseDown];
1158
return _listViewState
[
LISTVIEWSTATE_labelEdit];
1181
return _listViewState
[
LISTVIEWSTATE_labelWrap];
1223
if (AutoArrange && !_listViewState1
[
LISTVIEWSTATE1_disposingImageLists])
1238
return _listViewState
[
LISTVIEWSTATE_handleDestroyed];
1283
return _listViewState
[
LISTVIEWSTATE_multiSelect];
1306
return _listViewState
[
LISTVIEWSTATE_ownerDraw];
1366
return _listViewState
[
LISTVIEWSTATE_scrollable];
1417
return _listViewState
[
LISTVIEWSTATE_showGroups];
1464
else if (!_listViewState1
[
LISTVIEWSTATE1_disposingImageLists])
1483
return _listViewState
[
LISTVIEWSTATE_showItemToolTips];
1606
if (!_listViewState1
[
LISTVIEWSTATE1_disposingImageLists])
1792
return _listViewState1
[
LISTVIEWSTATE1_useCompatibleStateImageBehavior];
1916
return _listViewState
[
LISTVIEWSTATE_virtualMode];
3154
get => _listViewState1
[
LISTVIEWSTATE1_clearingInnerListOnDispose];
4241
if (_listViewState1
[
LISTVIEWSTATE1_selectedIndexChangedSkipped])
4284
if (_listViewState
[
LISTVIEWSTATE_inLabelEdit])
6094
if (nmhdr->code == PInvoke.NM_RELEASEDCAPTURE && _listViewState
[
LISTVIEWSTATE_columnClicked])
6127
(_listViewState
[
LISTVIEWSTATE_headerControlTracking] || _listViewState
[
LISTVIEWSTATE_headerDividerDblClick]))
6139
if (_listViewState
[
LISTVIEWSTATE_headerDividerDblClick])
6158
!_listViewState
[
LISTVIEWSTATE_headerControlTracking])
6172
if (_listViewState
[
LISTVIEWSTATE_headerDividerDblClick])
6174
if (CompensateColumnHeaderResize(m, _listViewState
[
LISTVIEWSTATE_columnResizeCancelled]) == 0)
6211
Debug.Assert(_listViewState
[
LISTVIEWSTATE_headerControlTracking], "HDN_ENDTRACK and HDN_BEGINTRACK are out of sync.");
6213
if (_listViewState1
[
LISTVIEWSTATE1_cancelledColumnWidthChanging])
6328
columnResizeCancelled = _listViewState
[
LISTVIEWSTATE_columnResizeCancelled];
6720
if (!_listViewState
[
LISTVIEWSTATE_mouseUpFired])
7043
if (!ValidationCancelled && _listViewState
[
LISTVIEWSTATE_doubleclickFired] && index != -1)
7050
if (!_listViewState
[
LISTVIEWSTATE_mouseUpFired])
7076
if (_listViewState
[
LISTVIEWSTATE_expectingMouseUp] && !_listViewState
[
LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.None)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (11)
233
if (_errorImage is null && _pictureBoxState
[
UseDefaultErrorImageState])
327
if (WaitOnLoad && !_pictureBoxState
[
InInitializationState] && !string.IsNullOrEmpty(_imageLocation))
392
if (_initialImage is null && _pictureBoxState
[
UseDefaultInitialImageState])
524
if (_pictureBoxState
[
AsyncOperationInProgressState])
647
if (_pictureBoxState
[
CancellationPendingState])
681
if (_pictureBoxState
[
CancellationPendingState])
798
private bool ShouldSerializeInitialImage() => !_pictureBoxState
[
UseDefaultInitialImageState];
803
private bool ShouldSerializeErrorImage() => !_pictureBoxState
[
UseDefaultErrorImageState];
1102
if (_pictureBoxState
[
NeedToLoadImageLocationState])
1190
get => _pictureBoxState
[
WaitOnLoadState];
1201
if (!_pictureBoxState
[
InInitializationState])
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (63)
151
if (!_flagState
[
s_isNullMask])
275
return _flagState
[
s_beepOnError];
377
if (_flagState
[
s_cutCopyIncludePrompt])
379
if (_flagState
[
s_cutCopyIncludeLiterals])
387
if (_flagState
[
s_cutCopyIncludeLiterals])
448
return _flagState
[
s_hidePromptOnLeave];
452
if (_flagState
[
s_hidePromptOnLeave] != value)
458
if (!_flagState
[
s_isNullMask] && !Focused && !MaskFull && !DesignMode)
550
if (_flagState
[
s_isNullMask])
569
return _flagState
[
s_insertToggled];
633
return _flagState
[
s_isNullMask] ? string.Empty : _maskedTextProvider.Mask;
643
if (_flagState
[
s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState
[
s_isNullMask] || value == _maskedTextProvider.Mask))
694
if (_flagState
[
s_isNullMask])
766
return _flagState
[
s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone();
859
if (_flagState
[
s_isNullMask])
940
if (!_flagState
[
s_isNullMask])
960
return _flagState
[
s_rejectInputOnFirstFailure];
1033
if (_flagState
[
s_isNullMask])
1048
if (_flagState
[
s_isNullMask])
1145
if (_flagState
[
s_isNullMask] || _flagState
[
s_queryBaseText])
1154
if (_flagState
[
s_isNullMask])
1200
if (_flagState
[
s_isNullMask])
1223
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
1312
string? oldText = _flagState
[
s_isNullMask] ? null : TextOutput;
1344
if (_flagState
[
s_isNullMask])
1390
return _flagState
[
s_useSystemPasswordChar];
1394
if (value != _flagState
[
s_useSystemPasswordChar])
1414
if (_flagState
[
s_isNullMask])
1484
if (!_flagState
[
s_isNullMask] && RecreatingHandle)
1499
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
1655
if (_flagState
[
s_isNullMask])
1694
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
1772
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
1817
if (_flagState
[
s_isNullMask] && _maskedTextProvider.IsPassword)
1842
if (_flagState
[
s_isNullMask])
1860
_flagState[s_insertToggled] = !_flagState
[
s_insertToggled];
1926
if (!_flagState
[
s_handleKeyPress])
1954
if (_flagState
[
s_isNullMask])
1961
if (!_flagState
[
s_handleKeyPress])
2025
if (_flagState
[
s_imeCompleting])
2030
if (_flagState
[
s_imeEndingComposition])
2058
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2140
bool queryBaseText = _flagState
[
s_queryBaseText];
2158
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2277
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2308
if (!_flagState
[
s_isNullMask] && !_maskedTextProvider.MaskCompleted)
2316
if (!_flagState
[
s_isNullMask]) // replace prompt with space.
2381
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2445
if (_flagState
[
s_isNullMask])
2503
if (_flagState
[
s_isNullMask] && textOnInitializingMask is null)
2579
if (_flagState
[
s_isNullMask])
2696
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2715
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2753
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2785
if (_flagState
[
s_imeEndingComposition])
2788
return _flagState
[
s_imeCompleting];
2802
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2859
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
2926
if (_flagState
[
s_isNullMask])
2995
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
3014
Debug.Assert(!_flagState
[
s_isNullMask], "This method must be called when a Mask is provided.");
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (33)
95
SetStyle(ControlStyles.FixedHeight, _textBoxFlags
[
s_autoSize]);
121
return _textBoxFlags
[
s_acceptsTab];
125
if (_textBoxFlags
[
s_acceptsTab] != value)
153
return _textBoxFlags
[
s_shortcutsEnabled];
193
if (_textBoxFlags
[
s_readOnly])
247
return _textBoxFlags
[
s_autoSize];
255
if (_textBoxFlags
[
s_autoSize] != value)
408
if (!_textBoxFlags
[
s_hideSelection])
413
if (_textBoxFlags
[
s_readOnly])
431
if (_textBoxFlags
[
s_multiline])
434
if (_textBoxFlags
[
s_wordWrap])
524
return _textBoxFlags
[
s_hideSelection];
529
if (_textBoxFlags
[
s_hideSelection] != value)
668
if (_textBoxFlags
[
s_modified] != curState)
679
return _textBoxFlags
[
s_modified];
721
return _textBoxFlags
[
s_multiline];
725
if (_textBoxFlags
[
s_multiline] != value)
927
return _textBoxFlags
[
s_readOnly];
931
if (_textBoxFlags
[
s_readOnly] != value)
1165
return _textBoxFlags
[
s_wordWrap];
1171
if (_textBoxFlags
[
s_wordWrap] != value)
1196
if (_textBoxFlags
[
s_autoSize] && !_textBoxFlags
[
s_multiline])
1207
if (_textBoxFlags
[
s_multiline])
1340
return Multiline && _textBoxFlags
[
s_acceptsTab] && ((keyData & Keys.Control) == 0);
1385
if (_textBoxFlags
[
s_modified])
1392
if (_textBoxFlags
[
s_scrollToCaretOnHandleCreated])
1787
if (_textBoxFlags
[
s_autoSize] && !_textBoxFlags
[
s_multiline])
1858
if (_textBoxFlags
[
s_setSelectionOnHandleCreated])
2012
if (!_textBoxFlags
[
s_codeUpdateText] && !_textBoxFlags
[
s_creatingHandle])
2030
if (!_textBoxFlags
[
s_multiline])
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
181
return _state
[
s_stateSizingGrip];
185
if (value != _state
[
s_stateSizingGrip])
371
if (_state
[
s_stateCalledSpringTableLayout])
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
340
DoubleBuffered = _state
[
s_stateLastDoubleBuffer];
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (9)
71
get => _state
[
s_stateAllowTransparency];
74
if (value != (_state
[
s_stateAllowTransparency]))
78
_state[s_stateLayered] = _state
[
s_stateAllowTransparency];
229
if (topLevel && _state
[
s_stateLayered])
575
bool oldLayered = _state
[
s_stateLayered];
586
if (oldLayered != _state
[
s_stateLayered])
869
get => !_state
[
s_stateNotWorkingAreaConstrained];
1557
if (_state
[
s_stateInSetVisibleCore])
1795
if (_state
[
s_stateLayered] && IsHandleCreated && TopLevel)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (5)
154
if (!_state
[
s_stateMaxItemSizeValid])
168
get => _state
[
s_stateShowImageMargin];
172
if (value != _state
[
s_stateShowImageMargin])
185
get => _state
[
s_stateShowCheckMargin];
189
if (value != _state
[
s_stateShowCheckMargin])
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
28
get { return _options
[
s_optionsDottedBorder]; }
33
get { return _options
[
s_optionsDottedGrip]; }
38
get { return _options
[
s_optionsFillWhenSelected]; }
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (40)
312
get => _state
[
s_stateAllowDrop];
315
if (value != _state
[
s_stateAllowDrop])
334
get => _state
[
s_stateAutoSize];
337
if (_state
[
s_stateAutoSize] != value)
355
get => _state
[
s_stateAutoToolTip];
368
get => _state
[
s_stateVisible];
713
if (!_state
[
s_stateConstructing])
750
get => _state
[
s_stateDoubleClickEnabled];
811
return _state
[
s_stateEnabled] && parentEnabled;
816
if (_state
[
s_stateEnabled] != value)
819
if (!_state
[
s_stateEnabled])
821
bool wasSelected = _state
[
s_stateSelected];
981
return _state
[
s_stateVisible];
1033
bool disposing = _state
[
s_stateDisposing];
1223
public bool IsDisposed => _state
[
s_stateDisposed];
1311
get => _state
[
s_stateMouseDownAndUpMustBeInSameItem];
1591
public virtual bool Pressed => CanSelect && _state
[
s_statePressed];
1699
get => _state
[
s_stateRightToLeftAutoMirrorImage];
1702
if (_state
[
s_stateRightToLeftAutoMirrorImage] != value)
1714
if (_state
[
s_stateInvalidMirroredImage])
1770
=> CanSelect && !DesignMode && (_state
[
s_stateSelected] ||
1820
get => _state
[
s_stateSupportsRightClick];
1826
get => _state
[
s_stateSupportsItemClick];
1832
get => _state
[
s_stateSupportsSpaceKey];
1838
get => _state
[
s_stateSupportsDisabledHotTracking];
2035
if (animate == _state
[
s_stateCurrentlyAnimatingImage])
2527
if (_state
[
s_stateMouseDownAndNoDrag] || _state
[
s_statePressed] || _state
[
s_stateSelected])
2550
if (_state
[
s_stateMouseDownAndNoDrag])
2576
if (_state
[
s_stateMouseDownAndNoDrag] || fireMouseUp)
2580
if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.Right && _state
[
s_stateSupportsRightClick]))
3035
if (_state
[
s_statePressed] != push)
3050
if (keyData == Keys.Enter || (_state
[
s_stateSupportsSpaceKey] && keyData == Keys.Space))
3211
if (!_state
[
s_stateDisposing] && !IsDisposed)
3224
if (_state
[
s_stateVisible] != visible)
3243
if (!_state
[
s_stateConstructing])
3280
if (_state
[
s_stateUseAmbientMargin] && Margin != DefaultMargin)
3335
private bool ShouldSerializeVisible() => !_state
[
s_stateVisible];
3536
if (_state
[
s_stateSelected])
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (11)
184
return _state
[
s_stateLocked];
368
if (!_state
[
s_stateInJoin])
450
if (!_state
[
s_stateBeginInit] && !_state
[
s_stateInJoin])
452
if (!_state
[
s_stateLayoutSuspended])
505
if (_state
[
s_stateBeginInit])
515
if (!_state
[
s_stateBeginInit])
585
if (!_state
[
s_stateBeginInit] && !_state
[
s_stateInJoin])
750
if (!_state
[
s_stateBeginInit] && !_state
[
s_stateInJoin])
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (6)
105
get => _state
[
s_stateCachedBoundsMode];
181
return _state
[
s_stateLocked];
189
return _state
[
s_stateInitialized];
242
return _state
[
s_stateVisible];
318
if (!_state
[
s_stateDisposing])
368
if (Initialized && !_state
[
s_stateInLayout])
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (6)
78
if (_state
[
s_stateUseDefaultRenderer])
113
if (!_state
[
s_stateUseDefaultRenderer])
136
if (_state
[
s_stateUseDefaultRenderer])
144
if (_state
[
s_stateAttachedRendererChanged])
157
if (!_state
[
s_stateAttachedRendererChanged])
165
if (_state
[
s_stateAttachedRendererChanged])
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
282
get => _treeNodeState
[
TREENODESTATE_isChecked];
2058
si.AddValue("IsChecked", _treeNodeState
[
TREENODESTATE_isChecked]);
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
275
get => _treeViewState
[
TREEVIEWSTATE_checkBoxes];
460
get => _treeViewState
[
TREEVIEWSTATE_fullRowSelect];
483
get => _treeViewState
[
TREEVIEWSTATE_hideSelection];
507
get => _treeViewState
[
TREEVIEWSTATE_hotTracking];
832
get => _treeViewState
[
TREEVIEWSTATE_labelEdit];
981
get => _treeViewState
[
TREEVIEWSTATE_scrollable];
1136
get => _treeViewState
[
TREEVIEWSTATE_showLines];
1158
get => _treeViewState
[
TREEVIEWSTATE_showNodeToolTips];
1181
get => _treeViewState
[
TREEVIEWSTATE_showPlusMinus];
1204
get => _treeViewState
[
TREEVIEWSTATE_showRootLines];
1228
get => _treeViewState
[
TREEVIEWSTATE_sorted];
2479
if (_treeViewState
[
TREEVIEWSTATE_ignoreSelects])
2634
if (_treeViewState
[
TREEVIEWSTATE_doubleBufferedPropertySet])
3057
if (!_treeViewState
[
TREEVIEWSTATE_mouseUpFired])
3155
if (_treeViewState
[
TREEVIEWSTATE_stopResizeWindowMsgs])
3304
if (!ValidationCancelled && !_treeViewState
[
TREEVIEWSTATE_doubleclickFired] & !_treeViewState
[
TREEVIEWSTATE_mouseUpFired])
3317
if (_treeViewState
[
TREEVIEWSTATE_doubleclickFired])
3329
if (!_treeViewState
[
TREEVIEWSTATE_mouseUpFired])
3392
if (_treeViewState
[
TREEVIEWSTATE_lastControlValidated])
3406
if (_treeViewState
[
TREEVIEWSTATE_showTreeViewContextMenu])
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (8)
76
get => _webBrowserState
[
WEBBROWSERSTATE_allowNavigation];
153
get => _webBrowserState
[
WEBBROWSERSTATE_webBrowserShortcutsEnabled];
172
get => _webBrowserState
[
WEBBROWSERSTATE_canGoBack];
198
get => _webBrowserState
[
WEBBROWSERSTATE_canGoForward];
460
get => _webBrowserState
[
WEBBROWSERSTATE_isWebBrowserContextMenuEnabled];
884
return _webBrowserState
[
WEBBROWSERSTATE_scrollbarsEnabled];
888
if (value != _webBrowserState
[
WEBBROWSERSTATE_scrollbarsEnabled])
1268
if (!_webBrowserState
[
WEBBROWSERSTATE_documentStreamJustSet])
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
577
internal bool GetAXHostState(int mask) => _axHostState
[
mask];
System\Windows\Forms\Layout\ArrangedElement.cs (2)
133
return _state
[
s_stateVisible];
137
if (_state
[
s_stateVisible] != value)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (8)
576
internal override bool CanProcessMnemonic() => _state
[
s_stateProcessingMnemonic] || base.CanProcessMnemonic();
813
if (!_state
[
s_stateScalingChild]
816
&& _state
[
s_stateScalingNeededOnLayout]
1008
if (_state
[
s_stateScalingNeededOnLayout])
1010
PerformAutoScale(_state
[
s_stateScalingNeededOnLayout], false);
1106
bool scaleUs = (requestingControl != this || _state
[
s_stateParentChanged] || causedByFontChanged);
1677
if (_state
[
s_stateValidating])
1866
if (_state
[
s_stateValidating])
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (6)
229
if (!_state
[
s_stateChildInfoValid])
287
get { return _state
[
s_stateChildInfoValid]; }
317
get { return _state
[
s_stateValid]; }
321
if (!_state
[
s_stateValid])
361
get { return _state
[
s_stateChildHasColumnSpan]; }
367
get { return _state
[
s_stateChildHasRowSpan]; }
System.Windows.Forms.Design (36)
System\ComponentModel\Design\DesignerHost.cs (5)
107
get { return _state
[
s_stateIsClosingTransaction]; }
185
if (_state
[
s_stateUnloading])
864
_state
[
s_stateLoading] || _state
[
s_stateUnloading] || (_loader is not null && _loader.Loading);
1050
bool wasLoading = _state
[
s_stateLoading];
System\ComponentModel\Design\SelectionService.cs (3)
92
if (!_state
[
s_stateTransaction] && _state
[
s_stateTransactionChange])
123
if (_state
[
s_stateTransaction])
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (27)
69
get => _state
[
s_stateModified];
129
protected bool ReloadPending => _state
[
s_stateReloadAtIdle];
142
if (_state
[
s_stateLoaded])
244
if (_state
[
s_stateReloadAtIdle])
283
if (_state
[
s_stateFlushInProgress] || !_state
[
s_stateLoaded] || !Modified)
438
bool previouslyEnabled = _state
[
s_stateEnableComponentEvents];
471
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
486
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
501
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
516
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
531
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
546
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
563
if (_state
[
s_stateEnableComponentEvents] && !LoaderHost.Loading)
579
if (!_state
[
s_stateDeferredReload] || _host is null)
587
if (_state
[
s_stateForceReload])
592
if (!_state
[
s_stateFlushReload])
597
if (_state
[
s_stateModifyIfErrors])
689
if (_state
[
s_stateModifyIfErrors] && errors is not null && errors.Count > 0)
724
if (!_state
[
s_stateReloadAtIdle])
754
if (!_state
[
s_stateForceReload] && !IsReloadNeeded())
761
if (_state
[
s_stateFlushReload])
817
if (_state
[
s_stateFlushInProgress])
822
if (!_state
[
s_stateActiveDocument])
828
if (_state
[
s_stateReloadAtIdle])
935
OnEndLoad(!_state
[
s_stateLoadFailed], errorCollection);
962
if (!_state
[
s_stateReloadSupported] || _loadDependencyCount != 0)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
103
if (_state
[
s_stateOwnTypeResolution])