660 writes to
Microsoft.CodeAnalysis.EditorFeatures (5)
IntelliSense\AsyncCompletion\FilterSet.cs (5)
142vectorForSingleItem[s_expanderMask] = _vector[s_expanderMask] = true; 150vectorForSingleItem[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)
264set => _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)
180action[s_combineCheck] = 183action[s_combineImageText] = !LayoutUtils.IsHorizontalRelation(TextImageRelation); 243action[s_combineCheck] = CheckAlign == ContentAlignment.MiddleCenter || !LayoutUtils.IsVerticalAlignment(CheckAlign); 244action[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; 2843set => _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)
114set => _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; 3155set => _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; 1191set => _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; 870set => _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; 356set => _state[s_stateAutoToolTip] = value; 751set => _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; 1312set => _state[s_stateMouseDownAndUpMustBeInSameItem] = value; 1704_state[s_stateRightToLeftAutoMirrorImage] = value; 1726_state[s_stateInvalidMirroredImage] = false; 1821set => _state[s_stateSupportsRightClick] = value; 1827set => _state[s_stateSupportsItemClick] = value; 1833set => _state[s_stateSupportsSpaceKey] = value; 1839set => _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; 106set => _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)
283set => _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; 154set => _webBrowserState[WEBBROWSERSTATE_webBrowserShortcutsEnabled] = value; 177_webBrowserState[WEBBROWSERSTATE_canGoBack] = value; 203_webBrowserState[WEBBROWSERSTATE_canGoForward] = value; 287_webBrowserState[WEBBROWSERSTATE_documentStreamJustSet] = true; 293_webBrowserState[WEBBROWSERSTATE_documentStreamJustSet] = false; 461set => _webBrowserState[WEBBROWSERSTATE_isWebBrowserContextMenuEnabled] = value; 890_webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled] = value;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
579internal 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; 362set { _state[s_stateChildHasColumnSpan] = value; } 368set { _state[s_stateChildHasRowSpan] = value; }
System.Windows.Forms.Design (37)
System\ComponentModel\Design\DesignerHost.cs (6)
108set { _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; 166private 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; 70set => _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; 609private 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)
176Debug.Assert(!_vector[s_expanderMask] || (_supportExpander && _vector[s_expanderMask])); 185builder.Add(new CompletionFilterWithState(Expander, isAvailable: true, isSelected: _vector[s_expanderMask])); 189if (_vector[filterWithMask.Mask])
PresentationCore (1)
System\Windows\RoutedEventArgs.cs (1)
355return _flags[InvokingHandlerIndex];
PresentationFramework (1)
System\Windows\Interop\ActiveXHost.cs (1)
380return _axHostState[mask];
System.ComponentModel.TypeConverter (7)
System\ComponentModel\MaskedTextProvider.cs (7)
438public bool AllowPromptAsInput => _flagState[s_ALLOW_PROMPT_AS_INPUT]; 559return _flagState[s_INCLUDE_LITERALS]; 575return _flagState[s_INCLUDE_PROMPT]; 586public bool AsciiOnly => _flagState[s_ASCII_ONLY]; 738return _flagState[s_RESET_ON_PROMPT]; 757return _flagState[s_SKIP_SPACE]; 777return _flagState[s_RESET_ON_LITERALS];
System.Windows.Forms (648)
System\Windows\Forms\ActiveX\AxHost.cs (48)
210if (_axState[s_fOwnWindow] && IsUserMode()) 221return _axState[mask]; 380return (_axState[s_fOwnWindow] && (ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING))) 423if (containingControl.Visible && Visible && !_axState[s_fOwnWindow]) 815private bool OwnWindow() => _axState[s_fOwnWindow] || _axState[s_fFakingWindow]; 821if (_axState[s_addedSelectionHandler]) 849if (!_axState[s_addedSelectionHandler]) 865if (DesignMode && hook != _axState[s_renameEventHooked]) 891if (_axState[s_disposed]) 931if (olduMode != newuMode && !IsHandleCreated && !_axState[s_disposed]) 1023if (_axState[s_fOwnWindow]) 1029else if (_axState[s_fNeedOwnWindow]) 1046if (_axState[s_fNeedOwnWindow]) 1193if (_axState[s_fFakingWindow]) 1223if (_axState[s_manualUpdate]) 1266WindowAssignHandle(handle, _axState[s_assignUniqueID]); 1278if (_axState[s_fOwnWindow]) 1290if (_axState[s_inTransition]) 1312if (_axState[s_fFakingWindow]) 1350if (_axState[s_inTransition]) 1383Debug.Assert(!_axState[s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING"); 1384if (!_axState[s_fOwnWindow]) 1408if (!IsUserMode() && !_axState[s_ocxStateSet]) 1494Debug.Assert(_axState[s_fFakingWindow], "have to be faking it in order to destroy it..."); 1541if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !_axState[s_fOwnWindow]) 1546if (_axState[s_fFakingWindow]) 1577Debug.Assert(!_axState[s_fFakingWindow], "if we were visible, we could not have had a fake window..."); 1587if (!_axState[s_fOwnWindow]) 1621Debug.Assert(!_axState[s_fOwnWindow], "can't own our window when hiding"); 1674if (_axState[s_siteProcessedInputKey]) 1723return _axState[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg); 1825Debug.Assert(!_axState[s_disposed], "we could not be asking for the object when we are axState[disposed]..."); 2018if (_axState[s_valueChanged]) 2185bool ownDispose = _axState[s_ownDisposing]; 2215if (_licenseKey is not null || !_axState[s_needLicenseKey]) 2431if (!_axState[s_editorRefresh] && HasPropertyPages()) 2510if (_axState[s_refreshProperties]) 2520return _axState[s_refreshProperties]; 2525if (value && !_axState[s_listeningToIdle]) 2530else if (!value && _axState[s_listeningToIdle]) 2873if (!_axState[s_sinkAttached]) 2891if (_axState[s_sinkAttached]) 3167if (_axState[s_processingKeyUp]) 3240if (!_axState[s_fFakingWindow]) 3242WindowAssignHandle(hwnd, _axState[s_assignUniqueID]); 3384=> GetControlEnabled() && !_axState[s_rejectSelection] && base.CanSelectCore(); 3410private bool GetSiteOwnsDeactivation() => _axState[s_ownDisposing];
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (30)
263get => _activeXState[s_eventsFrozen]; 313if (_activeXState[s_inPlaceActive]) 319&& _activeXState[s_isDirty]) 391if (_activeXState[s_inPlaceVisible]) 556if (_activeXState[s_viewAdviseOnlyOnce]) 561if (_activeXState[s_viewAdvisePrimeFirst]) 754if (!_activeXState[s_inPlaceActive]) 797if (!_activeXState[s_inPlaceActive]) 816if (!_activeXState[s_inPlaceVisible]) 867Debug.Assert(_activeXState[s_inPlaceVisible], "Failed to set inplacevisible"); 877if (_activeXState[s_uiActive]) 933if (!_activeXState[s_inPlaceActive]) 939if (_activeXState[s_uiActive]) 969internal HRESULT IsDirty() => _activeXState[s_isDirty] ? HRESULT.S_OK : HRESULT.S_FALSE; 1313if (_activeXState[s_uiActive] && fActivate && _inPlaceFrame is not null) 1330if (_activeXState[s_inPlaceActive] && _clientSite is not null) 1339if (focus && _activeXState[s_inPlaceActive] && !_activeXState[s_uiActive]) 1622if (_activeXState[s_viewAdvisePrimeFirst]) 1683if (_activeXState[s_changingExtents]) 1696if (_activeXState[s_inPlaceActive] && _clientSite is not null) 1724if (!_activeXState[s_inPlaceActive]) 1730if (!_activeXState[s_inPlaceActive] && _clientSite is not null) 1771if (_activeXState[s_adjustingRect]) 1932if (!_activeXState[s_uiActive]) 1984if (_activeXState[s_adjustingRect] || !_activeXState[s_inPlaceVisible] || _clientSite is null) 2082if (_viewAdviseSink is null || _activeXState[s_saving]) 2089if (_activeXState[s_viewAdviseOnlyOnce]) 2105if (_activeXState[s_uiDead])
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (53)
650get => _dataGridViewState1[State1_AllowUserToAddRows]; 683get => _dataGridViewState1[State1_AllowUserToDeleteRows]; 713return _dataGridViewState1[State1_AllowUserToOrderColumns]; 742get => _dataGridViewState2[State2_AllowUserToResizeColumns]; 770get => _dataGridViewState2[State2_AllowUserToResizeRows]; 837get => _dataGridViewState1[State1_AutoGenerateColumns]; 840if (_dataGridViewState1[State1_AutoGenerateColumns] != value) 861get => _dataGridViewState1[State1_IsAutoSized]; 1327get => _dataGridViewState2[State2_CellMouseDownInContentBounds]; 1645get => _dataGridViewState1[State1_ColumnHeadersVisible]; 2267get => _dataGridViewState2[State2_EnableHeadersVisualStyles]; 2270if (_dataGridViewState2[State2_EnableHeadersVisualStyles] != value) 2774if (!_dataGridViewState2[State2_StopRaisingHorizontalScroll]) 2836=> _dataGridViewOper[OperationInAdjustFillingColumn] || _dataGridViewOper[OperationInAdjustFillingColumns]; 2838internal bool InBeginEdit => _dataGridViewOper[OperationInBeginEdit]; 2842get => _dataGridViewOper[OperationInDisplayIndexAdjustments]; 2846internal bool InEndEdit => _dataGridViewOper[OperationInEndEdit]; 2851internal bool InInitialization => _dataGridViewState2[State2_Initializing]; 2853internal bool InSortOperation => _dataGridViewOper[OperationInSort]; 2856public bool IsCurrentCellDirty => _dataGridViewState1[State1_EditedCellChanged]; 2862if (value != _dataGridViewState1[State1_EditedCellChanged]) 2872=> EditingControl is not null || _dataGridViewState1[State1_CurrentCellInEditMode]; 2882return _dataGridViewState1[State1_EditedRowChanged] || IsCurrentCellDirty; 2886QuestionEventArgs qe = new(_dataGridViewState1[State1_EditedRowChanged] || IsCurrentCellDirty); 2897if (value != _dataGridViewState1[State1_EditedRowChanged]) 2909private bool IsEscapeKeyEffective => _dataGridViewOper[OperationTrackColResize] 2910|| _dataGridViewOper[OperationTrackRowResize] 2911|| _dataGridViewOper[OperationTrackColHeadersResize] 2912|| _dataGridViewOper[OperationTrackRowHeadersResize] 2913|| _dataGridViewOper[OperationTrackColRelocation] 2917|| _dataGridViewState1[State1_NewRowEdited]; 2996get => _dataGridViewState1[State1_MultiSelect]; 3062get => _dataGridViewState1[State1_ReadOnly]; 3065if (value == _dataGridViewState1[State1_ReadOnly]) 3154internal bool ResizingOperationAboutToStart => _dataGridViewOper[OperationResizingOperationAboutToStart]; 3160if (_dataGridViewState2[State2_RightToLeftValid]) 3162return _dataGridViewState2[State2_RightToLeftMode]; 3167return _dataGridViewState2[State2_RightToLeftMode]; 3345get => _dataGridViewState1[State1_RowHeadersVisible]; 3752if (!_dataGridViewState2[State2_Initializing] 3775get => _dataGridViewState2[State2_ShowCellErrors]; 3778if (_dataGridViewState2[State2_ShowCellErrors] != value) 3828get => _dataGridViewState2[State2_ShowCellToolTips]; 3831if (_dataGridViewState2[State2_ShowCellToolTips] != value) 3880get => _dataGridViewState2[State2_ShowEditingIcon]; 3916get => _dataGridViewState2[State2_ShowRowErrors]; 3977get => _dataGridViewState1[State1_StandardTab]; 3980if (_dataGridViewState1[State1_StandardTab] != value) 4079public Cursor? UserSetCursor => _dataGridViewState1[State1_CustomCursorSet] 4141get => _dataGridViewState1[State1_VirtualMode]; 4144if (_dataGridViewState1[State1_VirtualMode] != value) 4936if (_dataGridViewState2[State2_Initializing])
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (44)
103public bool CancellingRowEdit => _dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]; 113get => _dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager]; 118_dataConnectionState[DATACONNECTIONSTATE_interestedInRowEvents]; 123_dataConnectionState[DATACONNECTIONSTATE_listWasReset]; 133return !_dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] 134&& _dataConnectionState[DATACONNECTIONSTATE_positionChangingInCurrencyManager]; 139_dataConnectionState[DATACONNECTIONSTATE_processingListChangedEvent]; 142_dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges]; 148Debug.Assert(_dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]); 149return _dataConnectionState[DATACONNECTIONSTATE_restoreRow]; 388Debug.Assert(!_dataConnectionState[DATACONNECTIONSTATE_inAddNew] || !_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew], 393if (_dataConnectionState[DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] != _owner.AllowUserToAddRowsInternal) 412if (!_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && _owner.NewRowIndex == e.NewIndex) 417if (_dataConnectionState[DATACONNECTIONSTATE_inAddNew]) 424if (_dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew]) 451if (_dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]) 456else if (_dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit] || 457_dataConnectionState[DATACONNECTIONSTATE_inAddNew]) 475if (_dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && CurrencyManager.List.Count == 0) 496if (_dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && _dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView]) 513Debug.Assert(_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]); 523if (_dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] 524&& _dataConnectionState[DATACONNECTIONSTATE_itemAddedInDeleteOperation] 525&& _dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView]) 531else if (!_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] 532&& _dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit]) 664&& !_dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] 696if (_dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl]) 716_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && // condition 2. 717!_dataConnectionState[DATACONNECTIONSTATE_inAddNew] && // condition 2. 734if (_dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew]) 744bool clearSelection = _dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit] && !_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]; 785Debug.Assert(_dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]); 824if (!_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]) 1032if (_dataConnectionState[DATACONNECTIONSTATE_dataConnection_inSetDataConnection]) 1041if (DataSource is ISupportInitializeNotification dsInit && _dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]) 1069if (!_dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]) 1341if (_dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges]) 1357&& !_dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] 1390if (!_dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && !_owner.IsCurrentRowDirty) 1392if (!_dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit])
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (185)
884if (_dataGridViewOper[OperationInAdjustFillingColumns]) 988if (_dataGridViewState2[State2_UsedFillWeightsDirty]) 1249if (!_dataGridViewState2[State2_UsedFillWeightsDirty]) 2570if (_dataGridViewOper[OperationInBeginEdit]) 3089Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 3177Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 3187|| (_dataGridViewState1[State1_NewRowEdited] && !_dataGridViewState1[State1_EditedRowChanged])) 3189bool discardNewRow = _dataGridViewState1[State1_NewRowEdited]; 3201DataConnection!.CancelRowEdit(restoreRow: true, addNewFinished: _dataGridViewState1[State1_NewRowEdited]); 3250Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 3264if (!IsCurrentRowDirty && _ptCurrentCell.Y == NewRowIndex - 1 && _dataGridViewState1[State1_NewRowCreatedByEditing]) 3323if (_dataGridViewOper[OperationInDispose]) 3862|| (_dataGridViewState1[State1_CurrentCellInEditMode] && ((IDataGridViewEditingCell)CurrentCellInternal).EditingCellValueChanged)) == IsCurrentCellDirty 3863|| _dataGridViewState1[State1_IgnoringEditingChanges]); 3905Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 3943Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 3973if (_dataGridViewOper[OperationInCellValidating]) 5132Debug.Assert(!_dataGridViewOper[OperationInDisplayIndexAdjustments]); 5630if (_dataGridViewState2[State2_ShowColumnRelocationInsertion]) 5841if (_dataGridViewOper[OperationLastEditCtrlClickDoubled]) 5914if (_dataGridViewState2[State2_NextMouseUpIsDouble]) 5988Debug.Assert(!_dataGridViewState1[State1_CustomCursorSet]); 5994if (_dataGridViewState2[State2_MouseEnterExpected]) 6008if (_dataGridViewState1[State1_CustomCursorSet]) 6261Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 6789if (_dataGridViewState2[State2_RaiseSelectionChanged]) 8573if (_dataGridViewOper[OperationTrackRowSelect]) 8665if (_dataGridViewOper[OperationTrackColSelect]) 8798if (_dataGridViewOper[OperationTrackCellSelect]) 9627Debug.Assert(_dataGridViewOper[OperationTrackColSelect] || _dataGridViewOper[OperationTrackCellSelect]); 9640if (_dataGridViewOper[OperationTrackColSelect]) 9648else if (_dataGridViewOper[OperationTrackCellSelect]) 9664if (_dataGridViewOper[OperationTrackColSelect] && hti._col >= 0) 9668else if (_dataGridViewOper[OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0) 10051if (EditingControl is not null && _dataGridViewState1[State1_ForwardCharMessage]) 10148&& _dataGridViewState2[State2_AllowHorizontalScrollbar]; 10432&& !_dataGridViewState1[State1_EditingControlHidden] 10465&& !_dataGridViewOper[OperationInRefreshColumns]) 10500&& !_dataGridViewState1[State1_EditingControlHidden] 10515if (!_dataGridViewState1[State1_IgnoringEditingChanges]) 11085if (!_dataGridViewOper[OperationInBorderStyleChange]) 11445if (_dataGridViewState2[State2_InBindingContextChanged]) 11901if (!_dataGridViewState2[State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left) 11946if (!_dataGridViewState2[State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left) 12145if (_dataGridViewOper[OperationTrackMouseMoves]) 12244if (MultiSelect && _dataGridViewOper[OperationTrackMouseMoves]) 12335if (_dataGridViewOper[OperationTrackMouseMoves]) 12447if (MultiSelect && _dataGridViewOper[OperationTrackMouseMoves]) 12541if (_dataGridViewOper[OperationTrackMouseMoves]) 12670if (!_dataGridViewState1[State1_ScrolledSinceMouseDown] 12696Debug.Assert(!_dataGridViewState2[State2_MessageFromEditingCtrls]); 12824&& !_dataGridViewOper[OperationInReadOnlyChange]) 12859if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1[State1_AmbientFont]) 12864if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && _dataGridViewState1[State1_AmbientColumnHeadersFont]) 12869if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && _dataGridViewState1[State1_AmbientRowHeadersFont]) 12877if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1[State1_AmbientForeColor]) 13250if (DataSource is not null && !_dataGridViewOper[OperationInRefreshColumns]) 13279if (DataSource is not null && !_dataGridViewOper[OperationInRefreshColumns]) 13324if (DataSource is not null && e.Column.DataPropertyName.Length != 0 && !_dataGridViewOper[OperationInRefreshColumns]) 13365if (_dataGridViewOper[OperationInDisplayIndexAdjustments]) 13421Debug.Assert(_dataGridViewOper[OperationInDisplayIndexAdjustments]); 13431Debug.Assert(_dataGridViewOper[OperationInDisplayIndexAdjustments]); 13815if (MultiSelect && _dataGridViewOper[OperationTrackMouseMoves]) 14437&& !_dataGridViewOper[OperationInReadOnlyChange]) 14542|| (_dataGridViewState2[State2_CellMouseDownInContentBounds] 14596if (!_dataGridViewState2[State2_IgnoreCursorChange]) 14610if (!_dataGridViewOper[OperationInDispose] && !IsDisposed) 14746&& !_dataGridViewOper[OperationInReadOnlyChange]) 14809&& !_dataGridViewOper[OperationInReadOnlyChange]) 14847&& !_dataGridViewOper[OperationInReadOnlyChange]) 14937if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 14938&& !_dataGridViewOper[OperationInDispose] 15038else if (!_dataGridViewOper[OperationInMouseDown]) 15050if (_ptCurrentCell.X > -1 && CurrentCellInternal.EditType is null && !_dataGridViewOper[OperationInMouseDown]) 15058else if (!_dataGridViewOper[OperationInMouseDown]) 15085if (_dataGridViewState1[State1_AmbientColumnHeadersFont] && ColumnHeadersDefaultCellStyle.Font != base.Font) 15093if (_dataGridViewState1[State1_AmbientRowHeadersFont] && RowHeadersDefaultCellStyle.Font != base.Font) 15101if (_dataGridViewState1[State1_AmbientFont] && DefaultCellStyle.Font != base.Font) 15119if (_dataGridViewState1[State1_AmbientForeColor] && DefaultCellStyle.ForeColor != base.ForeColor) 15193if (!_dataGridViewOper[OperationInCurrentCellChange] 15194&& (!_dataGridViewOper[OperationInEndEdit] || EditMode != DataGridViewEditMode.EditOnEnter) 15195&& (!_dataGridViewOper[OperationInMouseDown] || EditMode != DataGridViewEditMode.EditOnEnter) 15239if (_dataGridViewState2[State2_AutoSizedWithoutHandle]) 15761if (_dataGridViewOper[OperationTrackKeyboardColResize] && (e.KeyData & Keys.Alt) != Keys.Alt) 15788if (_dataGridViewState1[State1_EditingControlChanging]) 15812if (_ptCurrentCell.X > -1 && !_dataGridViewState1[State1_LeavingWithTabKey]) 15824if (!_dataGridViewState1[State1_LeavingWithTabKey]) 15860if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 15861&& !_dataGridViewOper[OperationInDispose] 15863&& !_dataGridViewOper[OperationTrackColResize] 15864&& !_dataGridViewOper[OperationTrackRowResize] 15865&& !_dataGridViewOper[OperationTrackColHeadersResize] 15866&& !_dataGridViewOper[OperationTrackRowHeadersResize]) 15908if (!_dataGridViewOper[OperationTrackColRelocation]) 15951if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 15952&& !_dataGridViewOper[OperationTrackColResize] 15953&& !_dataGridViewOper[OperationTrackRowResize] 15954&& !_dataGridViewOper[OperationTrackColHeadersResize] 15955&& !_dataGridViewOper[OperationTrackRowHeadersResize]) 15976if (!_dataGridViewOper[OperationTrackColRelocation]) 16090if (!_dataGridViewState2[State2_MessageFromEditingCtrls]) 16097if (_dataGridViewState2[State2_MessageFromEditingCtrls]) 16131if (!_dataGridViewState2[State2_MouseOverRemovedEditingCtrl] 16132&& !_dataGridViewState2[State2_MouseOverRemovedEditingPanel] 16133&& _dataGridViewState2[State2_MouseEnterExpected] 16147if (_dataGridViewState1[State1_CustomCursorSet]) 16190if (_dataGridViewOper[OperationTrackColResize]) 16194else if (_dataGridViewOper[OperationTrackRowResize]) 16198else if (_dataGridViewOper[OperationTrackColRelocation]) 16202else if (_dataGridViewOper[OperationTrackColHeadersResize]) 16206else if (_dataGridViewOper[OperationTrackRowHeadersResize]) 16211if (_dataGridViewOper[OperationTrackColResize] 16212|| _dataGridViewOper[OperationTrackRowHeadersResize] 16219&& !_dataGridViewOper[OperationTrackColHeadersResize] 16220&& !_dataGridViewOper[OperationTrackColRelocation] 16221&& !_dataGridViewOper[OperationTrackColSelect] 16222&& !_dataGridViewOper[OperationTrackRowSelect] 16223&& !_dataGridViewOper[OperationTrackCellSelect])) 16225if (!_dataGridViewState1[State1_CustomCursorSet]) 16234else if (_dataGridViewOper[OperationTrackRowResize] 16235|| _dataGridViewOper[OperationTrackColHeadersResize] 16242&& !_dataGridViewOper[OperationTrackRowHeadersResize] 16243&& !_dataGridViewOper[OperationTrackColRelocation] 16244&& !_dataGridViewOper[OperationTrackColSelect] 16245&& !_dataGridViewOper[OperationTrackRowSelect] 16246&& !_dataGridViewOper[OperationTrackCellSelect])) 16248if (!_dataGridViewState1[State1_CustomCursorSet]) 16257else if (_dataGridViewState1[State1_CustomCursorSet]) 16263if (_dataGridViewOper[OperationTrackColSelect] || _dataGridViewOper[OperationTrackRowSelect] || _dataGridViewOper[OperationTrackCellSelect]) 16307if (_dataGridViewOper[OperationTrackColSelect] && hti._col >= 0) 16311else if (_dataGridViewOper[OperationTrackRowSelect] && hti._row >= 0) 16315else if (_dataGridViewOper[OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0) 16340if (!_dataGridViewState2[State2_MessageFromEditingCtrls]) 16359if (_dataGridViewState2[State2_NextMouseUpIsDouble]) 16395if (_dataGridViewOper[OperationTrackColResize]) 16400if (_dataGridViewOper[OperationTrackRowResize]) 16405if (_dataGridViewOper[OperationTrackColRelocation]) 16410if (_dataGridViewOper[OperationTrackColHeadersResize]) 16415if (_dataGridViewOper[OperationTrackRowHeadersResize]) 16663if (_dataGridViewOper[OperationInDispose] || IsDisposed) 17375if (_dataGridViewState2[State2_ReplacedCellSelected]) 17380if (_dataGridViewState2[State2_ReplacedCellReadOnly]) 17420if (_dataGridViewState2[State2_ReplacedCellSelected]) 17426if (_dataGridViewState2[State2_ReplacedCellReadOnly]) 18097if (MultiSelect && _dataGridViewOper[OperationTrackMouseMoves]) 18678if (e.StateChanged == DataGridViewElementStates.ReadOnly && rowIndex == _ptCurrentCell.Y && !_dataGridViewOper[OperationInReadOnlyChange]) 19043if (!_dataGridViewState1[State1_LeavingWithTabKey]) 19538Debug.Assert(_dataGridViewOper[OperationTrackColHeadersResize] || _dataGridViewOper[OperationTrackRowResize]); 19543Debug.Assert(_dataGridViewOper[OperationTrackRowHeadersResize] 19544|| _dataGridViewOper[OperationTrackColResize] 19545|| _dataGridViewOper[OperationTrackKeyboardColResize]); 19889setLocation || _dataGridViewState1[State1_EditingControlHidden], 19890setSize || _dataGridViewState1[State1_EditingControlHidden], 20128if (_dataGridViewState1[State1_LeavingWithTabKey] && Focused) 21916else if (_dataGridViewState1[State1_ForwardCharMessage] 21972if (_dataGridViewState2[State2_CurrentCellWantsInputKey]) 22020if (_dataGridViewOper[OperationTrackKeyboardColResize] && _resizeClipRectangle.Contains(x, _resizeClipRectangle.Top)) 25302Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 25494Debug.Assert(_dataGridViewState1[State1_CurrentCellInEditMode]); 25522if (_dataGridViewOper[OperationInCurrentCellChange]) 25980if (_dataGridViewState2[State2_MouseEnterExpected]) 26375if (!_dataGridViewState2[State2_StopRaisingVerticalScroll]) 26768if (_dataGridViewOper[OperationInCurrentCellChange] && // Allow the code to be re-entrant only as a result of 26785if (_dataGridViewState1[State1_TemporarilyResetCurrentCell]) 26903if (_dataGridViewState2[State2_RowsCollectionClearedInSetCell]) 26969&& !_dataGridViewState1[State1_LeavingWithTabKey] 26971&& !_dataGridViewState2[State2_RowsCollectionClearedInSetCell] 27017&& !_dataGridViewState1[State1_TemporarilyResetCurrentCell] 27018&& !_dataGridViewOper[OperationInDispose]) 27093if (_dataGridViewState1[State1_TemporarilyResetCurrentCell]) 27097if (_dataGridViewState2[State2_DiscardEditingControl]) 27109else if (oldCurrentCellX >= 0 && !_dataGridViewOper[OperationInDispose]) 28321Debug.Assert(_dataGridViewOper[OperationInSort]); 29862Debug.Assert(_dataGridViewOper[OperationTrackRowSelect] || _dataGridViewOper[OperationTrackCellSelect]); 29877if (_dataGridViewOper[OperationTrackRowSelect]) 29885else if (_dataGridViewOper[OperationTrackCellSelect]) 29899if (_dataGridViewOper[OperationTrackRowSelect] && hti._row >= 0) 29903else 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)
308return _listViewState[LISTVIEWSTATE_allowColumnReorder]; 333return _listViewState[LISTVIEWSTATE_autoArrange]; 382return _listViewState[LISTVIEWSTATE_backgroundImageTiled]; 444return _listViewState[LISTVIEWSTATE_checkBoxes]; 773return _listViewState[LISTVIEWSTATE_expectingMouseUp]; 851Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || View == View.SmallIcon, "we need this bit only in SmallIcon view"); 852Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || Application.ComCtlSupportsVisualStyles, "we need this bit only when loading ComCtl 6.0"); 854return _listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon]; 878return _listViewState[LISTVIEWSTATE_fullRowSelect]; 901return _listViewState[LISTVIEWSTATE_gridLines]; 1010if ((_listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Clickable) || 1011(!_listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Nonclickable)) 1013_listViewState[LISTVIEWSTATE_nonclickHdr] = !_listViewState[LISTVIEWSTATE_nonclickHdr]; 1035return _listViewState[LISTVIEWSTATE_hideSelection]; 1055return _listViewState[LISTVIEWSTATE_hotTracking]; 1083return _listViewState[LISTVIEWSTATE_hoverSelection]; 1105return _listViewState1[LISTVIEWSTATE1_insertingItemsNatively]; 1126return _listViewState[LISTVIEWSTATE_itemCollectionChangedInMouseDown]; 1158return _listViewState[LISTVIEWSTATE_labelEdit]; 1181return _listViewState[LISTVIEWSTATE_labelWrap]; 1223if (AutoArrange && !_listViewState1[LISTVIEWSTATE1_disposingImageLists]) 1238return _listViewState[LISTVIEWSTATE_handleDestroyed]; 1283return _listViewState[LISTVIEWSTATE_multiSelect]; 1306return _listViewState[LISTVIEWSTATE_ownerDraw]; 1366return _listViewState[LISTVIEWSTATE_scrollable]; 1417return _listViewState[LISTVIEWSTATE_showGroups]; 1464else if (!_listViewState1[LISTVIEWSTATE1_disposingImageLists]) 1483return _listViewState[LISTVIEWSTATE_showItemToolTips]; 1606if (!_listViewState1[LISTVIEWSTATE1_disposingImageLists]) 1792return _listViewState1[LISTVIEWSTATE1_useCompatibleStateImageBehavior]; 1916return _listViewState[LISTVIEWSTATE_virtualMode]; 3154get => _listViewState1[LISTVIEWSTATE1_clearingInnerListOnDispose]; 4241if (_listViewState1[LISTVIEWSTATE1_selectedIndexChangedSkipped]) 4284if (_listViewState[LISTVIEWSTATE_inLabelEdit]) 6094if (nmhdr->code == PInvoke.NM_RELEASEDCAPTURE && _listViewState[LISTVIEWSTATE_columnClicked]) 6127(_listViewState[LISTVIEWSTATE_headerControlTracking] || _listViewState[LISTVIEWSTATE_headerDividerDblClick])) 6139if (_listViewState[LISTVIEWSTATE_headerDividerDblClick]) 6158!_listViewState[LISTVIEWSTATE_headerControlTracking]) 6172if (_listViewState[LISTVIEWSTATE_headerDividerDblClick]) 6174if (CompensateColumnHeaderResize(m, _listViewState[LISTVIEWSTATE_columnResizeCancelled]) == 0) 6211Debug.Assert(_listViewState[LISTVIEWSTATE_headerControlTracking], "HDN_ENDTRACK and HDN_BEGINTRACK are out of sync."); 6213if (_listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging]) 6328columnResizeCancelled = _listViewState[LISTVIEWSTATE_columnResizeCancelled]; 6720if (!_listViewState[LISTVIEWSTATE_mouseUpFired]) 7043if (!ValidationCancelled && _listViewState[LISTVIEWSTATE_doubleclickFired] && index != -1) 7050if (!_listViewState[LISTVIEWSTATE_mouseUpFired]) 7076if (_listViewState[LISTVIEWSTATE_expectingMouseUp] && !_listViewState[LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.None)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (11)
233if (_errorImage is null && _pictureBoxState[UseDefaultErrorImageState]) 327if (WaitOnLoad && !_pictureBoxState[InInitializationState] && !string.IsNullOrEmpty(_imageLocation)) 392if (_initialImage is null && _pictureBoxState[UseDefaultInitialImageState]) 524if (_pictureBoxState[AsyncOperationInProgressState]) 647if (_pictureBoxState[CancellationPendingState]) 681if (_pictureBoxState[CancellationPendingState]) 798private bool ShouldSerializeInitialImage() => !_pictureBoxState[UseDefaultInitialImageState]; 803private bool ShouldSerializeErrorImage() => !_pictureBoxState[UseDefaultErrorImageState]; 1102if (_pictureBoxState[NeedToLoadImageLocationState]) 1190get => _pictureBoxState[WaitOnLoadState]; 1201if (!_pictureBoxState[InInitializationState])
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (63)
151if (!_flagState[s_isNullMask]) 275return _flagState[s_beepOnError]; 377if (_flagState[s_cutCopyIncludePrompt]) 379if (_flagState[s_cutCopyIncludeLiterals]) 387if (_flagState[s_cutCopyIncludeLiterals]) 448return _flagState[s_hidePromptOnLeave]; 452if (_flagState[s_hidePromptOnLeave] != value) 458if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode) 550if (_flagState[s_isNullMask]) 569return _flagState[s_insertToggled]; 633return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask; 643if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask)) 694if (_flagState[s_isNullMask]) 766return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone(); 859if (_flagState[s_isNullMask]) 940if (!_flagState[s_isNullMask]) 960return _flagState[s_rejectInputOnFirstFailure]; 1033if (_flagState[s_isNullMask]) 1048if (_flagState[s_isNullMask]) 1145if (_flagState[s_isNullMask] || _flagState[s_queryBaseText]) 1154if (_flagState[s_isNullMask]) 1200if (_flagState[s_isNullMask]) 1223Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1312string? oldText = _flagState[s_isNullMask] ? null : TextOutput; 1344if (_flagState[s_isNullMask]) 1390return _flagState[s_useSystemPasswordChar]; 1394if (value != _flagState[s_useSystemPasswordChar]) 1414if (_flagState[s_isNullMask]) 1484if (!_flagState[s_isNullMask] && RecreatingHandle) 1499Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1655if (_flagState[s_isNullMask]) 1694Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1772Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1817if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword) 1842if (_flagState[s_isNullMask]) 1860_flagState[s_insertToggled] = !_flagState[s_insertToggled]; 1926if (!_flagState[s_handleKeyPress]) 1954if (_flagState[s_isNullMask]) 1961if (!_flagState[s_handleKeyPress]) 2025if (_flagState[s_imeCompleting]) 2030if (_flagState[s_imeEndingComposition]) 2058Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2140bool queryBaseText = _flagState[s_queryBaseText]; 2158Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2277Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2308if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted) 2316if (!_flagState[s_isNullMask]) // replace prompt with space. 2381Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2445if (_flagState[s_isNullMask]) 2503if (_flagState[s_isNullMask] && textOnInitializingMask is null) 2579if (_flagState[s_isNullMask]) 2696Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2715Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2753Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2785if (_flagState[s_imeEndingComposition]) 2788return _flagState[s_imeCompleting]; 2802Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2859Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2926if (_flagState[s_isNullMask]) 2995Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 3014Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (33)
95SetStyle(ControlStyles.FixedHeight, _textBoxFlags[s_autoSize]); 121return _textBoxFlags[s_acceptsTab]; 125if (_textBoxFlags[s_acceptsTab] != value) 153return _textBoxFlags[s_shortcutsEnabled]; 193if (_textBoxFlags[s_readOnly]) 247return _textBoxFlags[s_autoSize]; 255if (_textBoxFlags[s_autoSize] != value) 408if (!_textBoxFlags[s_hideSelection]) 413if (_textBoxFlags[s_readOnly]) 431if (_textBoxFlags[s_multiline]) 434if (_textBoxFlags[s_wordWrap]) 524return _textBoxFlags[s_hideSelection]; 529if (_textBoxFlags[s_hideSelection] != value) 668if (_textBoxFlags[s_modified] != curState) 679return _textBoxFlags[s_modified]; 721return _textBoxFlags[s_multiline]; 725if (_textBoxFlags[s_multiline] != value) 927return _textBoxFlags[s_readOnly]; 931if (_textBoxFlags[s_readOnly] != value) 1165return _textBoxFlags[s_wordWrap]; 1171if (_textBoxFlags[s_wordWrap] != value) 1196if (_textBoxFlags[s_autoSize] && !_textBoxFlags[s_multiline]) 1207if (_textBoxFlags[s_multiline]) 1340return Multiline && _textBoxFlags[s_acceptsTab] && ((keyData & Keys.Control) == 0); 1385if (_textBoxFlags[s_modified]) 1392if (_textBoxFlags[s_scrollToCaretOnHandleCreated]) 1787if (_textBoxFlags[s_autoSize] && !_textBoxFlags[s_multiline]) 1858if (_textBoxFlags[s_setSelectionOnHandleCreated]) 2012if (!_textBoxFlags[s_codeUpdateText] && !_textBoxFlags[s_creatingHandle]) 2030if (!_textBoxFlags[s_multiline])
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
181return _state[s_stateSizingGrip]; 185if (value != _state[s_stateSizingGrip]) 371if (_state[s_stateCalledSpringTableLayout])
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
340DoubleBuffered = _state[s_stateLastDoubleBuffer];
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (9)
71get => _state[s_stateAllowTransparency]; 74if (value != (_state[s_stateAllowTransparency])) 78_state[s_stateLayered] = _state[s_stateAllowTransparency]; 229if (topLevel && _state[s_stateLayered]) 575bool oldLayered = _state[s_stateLayered]; 586if (oldLayered != _state[s_stateLayered]) 869get => !_state[s_stateNotWorkingAreaConstrained]; 1557if (_state[s_stateInSetVisibleCore]) 1795if (_state[s_stateLayered] && IsHandleCreated && TopLevel)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (5)
154if (!_state[s_stateMaxItemSizeValid]) 168get => _state[s_stateShowImageMargin]; 172if (value != _state[s_stateShowImageMargin]) 185get => _state[s_stateShowCheckMargin]; 189if (value != _state[s_stateShowCheckMargin])
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
28get { return _options[s_optionsDottedBorder]; } 33get { return _options[s_optionsDottedGrip]; } 38get { return _options[s_optionsFillWhenSelected]; }
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (40)
312get => _state[s_stateAllowDrop]; 315if (value != _state[s_stateAllowDrop]) 334get => _state[s_stateAutoSize]; 337if (_state[s_stateAutoSize] != value) 355get => _state[s_stateAutoToolTip]; 368get => _state[s_stateVisible]; 713if (!_state[s_stateConstructing]) 750get => _state[s_stateDoubleClickEnabled]; 811return _state[s_stateEnabled] && parentEnabled; 816if (_state[s_stateEnabled] != value) 819if (!_state[s_stateEnabled]) 821bool wasSelected = _state[s_stateSelected]; 981return _state[s_stateVisible]; 1033bool disposing = _state[s_stateDisposing]; 1223public bool IsDisposed => _state[s_stateDisposed]; 1311get => _state[s_stateMouseDownAndUpMustBeInSameItem]; 1591public virtual bool Pressed => CanSelect && _state[s_statePressed]; 1699get => _state[s_stateRightToLeftAutoMirrorImage]; 1702if (_state[s_stateRightToLeftAutoMirrorImage] != value) 1714if (_state[s_stateInvalidMirroredImage]) 1770=> CanSelect && !DesignMode && (_state[s_stateSelected] || 1820get => _state[s_stateSupportsRightClick]; 1826get => _state[s_stateSupportsItemClick]; 1832get => _state[s_stateSupportsSpaceKey]; 1838get => _state[s_stateSupportsDisabledHotTracking]; 2035if (animate == _state[s_stateCurrentlyAnimatingImage]) 2527if (_state[s_stateMouseDownAndNoDrag] || _state[s_statePressed] || _state[s_stateSelected]) 2550if (_state[s_stateMouseDownAndNoDrag]) 2576if (_state[s_stateMouseDownAndNoDrag] || fireMouseUp) 2580if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.Right && _state[s_stateSupportsRightClick])) 3035if (_state[s_statePressed] != push) 3050if (keyData == Keys.Enter || (_state[s_stateSupportsSpaceKey] && keyData == Keys.Space)) 3211if (!_state[s_stateDisposing] && !IsDisposed) 3224if (_state[s_stateVisible] != visible) 3243if (!_state[s_stateConstructing]) 3280if (_state[s_stateUseAmbientMargin] && Margin != DefaultMargin) 3335private bool ShouldSerializeVisible() => !_state[s_stateVisible]; 3536if (_state[s_stateSelected])
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (11)
184return _state[s_stateLocked]; 368if (!_state[s_stateInJoin]) 450if (!_state[s_stateBeginInit] && !_state[s_stateInJoin]) 452if (!_state[s_stateLayoutSuspended]) 505if (_state[s_stateBeginInit]) 515if (!_state[s_stateBeginInit]) 585if (!_state[s_stateBeginInit] && !_state[s_stateInJoin]) 750if (!_state[s_stateBeginInit] && !_state[s_stateInJoin])
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (6)
105get => _state[s_stateCachedBoundsMode]; 181return _state[s_stateLocked]; 189return _state[s_stateInitialized]; 242return _state[s_stateVisible]; 318if (!_state[s_stateDisposing]) 368if (Initialized && !_state[s_stateInLayout])
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (6)
78if (_state[s_stateUseDefaultRenderer]) 113if (!_state[s_stateUseDefaultRenderer]) 136if (_state[s_stateUseDefaultRenderer]) 144if (_state[s_stateAttachedRendererChanged]) 157if (!_state[s_stateAttachedRendererChanged]) 165if (_state[s_stateAttachedRendererChanged])
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
282get => _treeNodeState[TREENODESTATE_isChecked]; 2058si.AddValue("IsChecked", _treeNodeState[TREENODESTATE_isChecked]);
System\Windows\Forms\Controls\TreeView\TreeView.cs (21)
275get => _treeViewState[TREEVIEWSTATE_checkBoxes]; 460get => _treeViewState[TREEVIEWSTATE_fullRowSelect]; 483get => _treeViewState[TREEVIEWSTATE_hideSelection]; 507get => _treeViewState[TREEVIEWSTATE_hotTracking]; 832get => _treeViewState[TREEVIEWSTATE_labelEdit]; 981get => _treeViewState[TREEVIEWSTATE_scrollable]; 1136get => _treeViewState[TREEVIEWSTATE_showLines]; 1158get => _treeViewState[TREEVIEWSTATE_showNodeToolTips]; 1181get => _treeViewState[TREEVIEWSTATE_showPlusMinus]; 1204get => _treeViewState[TREEVIEWSTATE_showRootLines]; 1228get => _treeViewState[TREEVIEWSTATE_sorted]; 2479if (_treeViewState[TREEVIEWSTATE_ignoreSelects]) 2634if (_treeViewState[TREEVIEWSTATE_doubleBufferedPropertySet]) 3057if (!_treeViewState[TREEVIEWSTATE_mouseUpFired]) 3155if (_treeViewState[TREEVIEWSTATE_stopResizeWindowMsgs]) 3304if (!ValidationCancelled && !_treeViewState[TREEVIEWSTATE_doubleclickFired] & !_treeViewState[TREEVIEWSTATE_mouseUpFired]) 3317if (_treeViewState[TREEVIEWSTATE_doubleclickFired]) 3329if (!_treeViewState[TREEVIEWSTATE_mouseUpFired]) 3392if (_treeViewState[TREEVIEWSTATE_lastControlValidated]) 3406if (_treeViewState[TREEVIEWSTATE_showTreeViewContextMenu])
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (8)
76get => _webBrowserState[WEBBROWSERSTATE_allowNavigation]; 153get => _webBrowserState[WEBBROWSERSTATE_webBrowserShortcutsEnabled]; 172get => _webBrowserState[WEBBROWSERSTATE_canGoBack]; 198get => _webBrowserState[WEBBROWSERSTATE_canGoForward]; 460get => _webBrowserState[WEBBROWSERSTATE_isWebBrowserContextMenuEnabled]; 884return _webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled]; 888if (value != _webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled]) 1268if (!_webBrowserState[WEBBROWSERSTATE_documentStreamJustSet])
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
577internal bool GetAXHostState(int mask) => _axHostState[mask];
System\Windows\Forms\Layout\ArrangedElement.cs (2)
133return _state[s_stateVisible]; 137if (_state[s_stateVisible] != value)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (8)
576internal override bool CanProcessMnemonic() => _state[s_stateProcessingMnemonic] || base.CanProcessMnemonic(); 813if (!_state[s_stateScalingChild] 816&& _state[s_stateScalingNeededOnLayout] 1008if (_state[s_stateScalingNeededOnLayout]) 1010PerformAutoScale(_state[s_stateScalingNeededOnLayout], false); 1106bool scaleUs = (requestingControl != this || _state[s_stateParentChanged] || causedByFontChanged); 1677if (_state[s_stateValidating]) 1866if (_state[s_stateValidating])
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (6)
229if (!_state[s_stateChildInfoValid]) 287get { return _state[s_stateChildInfoValid]; } 317get { return _state[s_stateValid]; } 321if (!_state[s_stateValid]) 361get { return _state[s_stateChildHasColumnSpan]; } 367get { return _state[s_stateChildHasRowSpan]; }
System.Windows.Forms.Design (36)
System\ComponentModel\Design\DesignerHost.cs (5)
107get { return _state[s_stateIsClosingTransaction]; } 185if (_state[s_stateUnloading]) 864_state[s_stateLoading] || _state[s_stateUnloading] || (_loader is not null && _loader.Loading); 1050bool wasLoading = _state[s_stateLoading];
System\ComponentModel\Design\SelectionService.cs (3)
92if (!_state[s_stateTransaction] && _state[s_stateTransactionChange]) 123if (_state[s_stateTransaction])
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (27)
69get => _state[s_stateModified]; 129protected bool ReloadPending => _state[s_stateReloadAtIdle]; 142if (_state[s_stateLoaded]) 244if (_state[s_stateReloadAtIdle]) 283if (_state[s_stateFlushInProgress] || !_state[s_stateLoaded] || !Modified) 438bool previouslyEnabled = _state[s_stateEnableComponentEvents]; 471if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 486if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 501if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 516if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 531if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 546if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 563if (_state[s_stateEnableComponentEvents] && !LoaderHost.Loading) 579if (!_state[s_stateDeferredReload] || _host is null) 587if (_state[s_stateForceReload]) 592if (!_state[s_stateFlushReload]) 597if (_state[s_stateModifyIfErrors]) 689if (_state[s_stateModifyIfErrors] && errors is not null && errors.Count > 0) 724if (!_state[s_stateReloadAtIdle]) 754if (!_state[s_stateForceReload] && !IsReloadNeeded()) 761if (_state[s_stateFlushReload]) 817if (_state[s_stateFlushInProgress]) 822if (!_state[s_stateActiveDocument]) 828if (_state[s_stateReloadAtIdle]) 935OnEndLoad(!_state[s_stateLoadFailed], errorCollection); 962if (!_state[s_stateReloadSupported] || _loadDependencyCount != 0)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
103if (_state[s_stateOwnTypeResolution])