791 writes to
PresentationCore (1)
Core\CSharp\System\Windows\RoutedEventArgs.cs (1)
400_flags[InvokingHandlerIndex] = value;
PresentationFramework (1)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
443_axHostState[mask] = value;
System (45)
compmod\system\componentmodel\MaskedTextProvider.cs (12)
292this.flagState[ALLOW_PROMPT_AS_INPUT] = allowPromptAsInput; 293this.flagState[ASCII_ONLY ] = restrictToAscii; 297this.flagState[INCLUDE_PROMPT ] = false; 298this.flagState[INCLUDE_LITERALS ] = true; 299this.flagState[RESET_ON_PROMPT ] = true; 300this.flagState[SKIP_SPACE ] = true; 301this.flagState[RESET_ON_LITERALS] = true; 621this.flagState[INCLUDE_LITERALS] = value; 637this.flagState[INCLUDE_PROMPT] = value; 830this.flagState[RESET_ON_PROMPT] = value; 849this.flagState[SKIP_SPACE] = value; 869this.flagState[RESET_ON_LITERALS] = value;
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (15)
131state[BitGetQueried | BitSetOnDemand] = true; 133state[BitGetQueried | BitSetQueried] = true; 143state[BitGetQueried | BitSetQueried] = true; 191state[BitDefaultValueQueried] = true; 197state[BitAmbientValueQueried] = true; 245state[BitAmbientValueQueried] = true; 264state[BitChangedQueried] = true; 288state[BitIPropChangedQueried] = true; 299state[BitIPropChangedQueried] = true; 318state[BitDefaultValueQueried] = true; 341state[BitGetQueried] = true; 410state[BitResetQueried] = true; 450state[BitSetQueried] = true; 477state[BitSetQueried] = true; 513state[BitShouldSerializeQueried] = true;
services\monitoring\system\diagnosticts\EventLogInternal.cs (18)
183boolFlags[Flag_forwards] = true; 461this.boolFlags[Flag_monitoring] = value; 611boolFlags[Flag_initializing] = true; 695boolFlags[Flag_sourceVerified] = false; 717boolFlags[Flag_notifying] = true; 771boolFlags[Flag_notifying] = false; 804this.boolFlags[Flag_disposed] = true; 816boolFlags[Flag_initializing] = false; 1079boolFlags[Flag_forwards] = true; 1083boolFlags[Flag_forwards] = false; 1382boolFlags[Flag_monitoring] = isMonitoring; 1422boolFlags[Flag_registeredAsListener] = true; 1429boolFlags[Flag_monitoring] = true; 1468boolFlags[Flag_registeredAsListener] = false; 1477boolFlags[Flag_monitoring] = false; 1557boolFlags[Flag_sourceVerified] = true; 1629boolFlags[Flag_writeGranted] = true; 1657boolFlags[Flag_writeGranted] = true;
System.Windows.Forms (744)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
37state[stateVisible] = true; 127state[stateVisible] = value;
winforms\Managed\System\WinForms\AxHost.cs (49)
294this.axState[assignUniqueID] = !this.GetType().GUID.Equals(comctlImageCombo_Clsid); 295this.axState[needLicenseKey] = true; 296this.axState[rejectSelection] = true; 327this.axState[mask] = value; 1229axState[addedSelectionHandler] = true; 1257axState[addedSelectionHandler] = false; 1276axState[renameEventHooked] = hook; 1416axState[fNeedOwnWindow] = false; 1417axState[fFakingWindow] = true; 1564axState[handlePosRectChanged] = true; 1607axState[handlePosRectChanged] = false; 1629axState[manualUpdate] = true; 1670axState[inTransition] = true; 1714axState[inTransition] = false; 1725axState[inTransition] = true; 1731axState[disposed] = false; 1747axState[ownDisposing] = false; 1802axState[inTransition] = false; 1827axState[ownDisposing] = true; 1861axState[fFakingWindow] = false; 1927axState[fNeedOwnWindow] = false; 1966axState[fNeedOwnWindow] = true; 2047axState[siteProcessedInputKey] = false; 2086axState[siteProcessedInputKey] = false; 2177axState[ocxStateSet] = true; 2192this.axState[manualUpdate] = ocxState._GetManualUpdate(); 2196this.axState[manualUpdate] = false; 2351axState[valueChanged] = false; 2505this.axState[ownDisposing] = true; 2511this.axState[ownDisposing] = ownDispose; 2548axState[needLicenseKey] = false; 2552axState[needLicenseKey] = false; 2721axState[editorRefresh] = true; 2829axState[refreshProperties] = value; 2832axState[listeningToIdle] = true; 2836axState[listeningToIdle] = false; 3237axState[sinkAttached] = true; 3249axState[sinkAttached] = false; 3525axState[processingKeyUp] = true; 3531axState[processingKeyUp] = false; 4485axState[rejectSelection] = true; 4576axState[checkedIppb] = false; 4577axState[checkedCP] = false; 4578axState[disposed] = true; 4581axState[sinkAttached] = false; 4592axState[fOwnWindow] = ((bits & NativeMethods.ActiveX.OLEMISC_INVISIBLEATRUNTIME) != 0) && IsUserMode(); 4593axState[fSimpleFrame] = ((bits & NativeMethods.ActiveX.OLEMISC_SIMPLEFRAME) != 0); 4702axState[checkedCP] = true; 4712axState[checkedIppb] = true;
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
1027action[combineCheck] = checkAlign == ContentAlignment.MiddleCenter || !LayoutUtils.IsHorizontalAlignment(checkAlign); 1028action[combineImageText] = !LayoutUtils.IsHorizontalRelation(textImageRelation); 1085action[combineCheck] = checkAlign == ContentAlignment.MiddleCenter || !LayoutUtils.IsVerticalAlignment(checkAlign); 1086action[combineImageText] = !LayoutUtils.IsVerticalRelation(textImageRelation);
winforms\Managed\System\WinForms\ContainerControl.cs (10)
792state[stateScalingNeededOnLayout] = true; 854state[stateScalingChild] = true; 859state[stateScalingChild] = false; 953state[stateParentChanged] = !RequiredScalingEnabled; 1008state[stateScalingNeededOnLayout] = false; 1011state[stateParentChanged] = false; 1258this.state[stateProcessingMnemonic] = true; 1309this.state[stateProcessingMnemonic] = false; 1792this.state[stateValidating] = true; 1850state[stateValidating] = false;
winforms\Managed\System\WinForms\Control.cs (19)
16450activeXState[eventsFrozen] = value; 17059activeXState[inPlaceActive] = true; 17130activeXState[uiActive] = true; 17191activeXState[inPlaceActive] = false; 17192activeXState[inPlaceVisible] = false; 17534activeXState[uiDead] = (bool)obj; 18074activeXState[isDirty] = false; 18106activeXState[viewAdvisePrimeFirst] = (advf & NativeMethods.ADVF_PRIMEFIRST) != 0 ? true : false; 18107activeXState[viewAdviseOnlyOnce] = (advf & NativeMethods.ADVF_ONLYONCE) != 0 ? true : false; 18185activeXState[uiDead] = (bool)obj; 18249activeXState[changingExtents] = true; 18281activeXState[isDirty] = true; 18299activeXState[changingExtents] = false; 18313activeXState[inPlaceVisible] = visible; 18367activeXState[adjustingRect] = true; 18372activeXState[adjustingRect] = false; 18585activeXState[uiActive] = false; 18652activeXState[adjustingRect] = true; 18661activeXState[adjustingRect] = false;
winforms\Managed\System\WinForms\DataGrid.cs (95)
400gridState[GRIDSTATE_allowSorting] = value; 679gridState[GRIDSTATE_listHasErrors] = value; 1036gridState[GRIDSTATE_inAddNewRow] = false; 1571gridState[GRIDSTATE_inSetListManager] = true; 1707gridState[GRIDSTATE_inSetListManager] = false; 1966gridState[GRIDSTATE_isFlatMode] = value; 2280gridState[GRIDSTATE_isScrolling] = false; 2466gridState[GRIDSTATE_allowNavigation] = value; 2761gridState[GRIDSTATE_readOnlyMode] = value; 2817gridState[GRIDSTATE_columnHeadersVisible] = value; 2892gridState[GRIDSTATE_rowHeadersVisible] = value; 3134gridState[GRIDSTATE_inAddNewRow] = false; 3575gridState[GRIDSTATE_isScrolling] = true; 3640this.gridState[GRIDSTATE_isScrolling] = false; 3658gridState[GRIDSTATE_isScrolling] = true; 3665gridState[GRIDSTATE_isScrolling] = false; 3871gridState[GRIDSTATE_canFocus] = false; 3884gridState[GRIDSTATE_canFocus] = true; 3952gridState[GRIDSTATE_canFocus] = false; 3970gridState[GRIDSTATE_canFocus] = true; 3974gridState[GRIDSTATE_inAddNewRow] = false; 4015gridState[GRIDSTATE_childLinkFocused] = false; 4016gridState[GRIDSTATE_dragging] = false; 4255gridState[GRIDSTATE_dragging] = ((e.Y - topRow < dragHeight && topRow - e.Y < dragHeight) || (e.Y - bottomRow < dragHeight && bottomRow - e.Y < dragHeight)); 4300gridState[GRIDSTATE_overCaption] = true; 4307gridState[GRIDSTATE_overCaption] = false; 4319gridState[GRIDSTATE_dragging] = false; 4331gridState[GRIDSTATE_trackColResize] = false; 4332gridState[GRIDSTATE_trackRowResize] = false; 4377gridState[GRIDSTATE_isScrolling] = true; 4395gridState[GRIDSTATE_isScrolling] = false; 4442gridState[GRIDSTATE_exceptionInPaint] = true; 4453gridState[GRIDSTATE_exceptionInPaint] = false; 4560gridState[GRIDSTATE_editControlChanging] = true; 4565gridState[GRIDSTATE_editControlChanging] = false; 4567gridState[GRIDSTATE_isEditing] = false; 4653gridState[GRIDSTATE_inListAddNew] = true; 4654gridState[GRIDSTATE_inAddNewRow] = true; 4658gridState[GRIDSTATE_inListAddNew] = false; 4659gridState[GRIDSTATE_inAddNewRow] = false; 4664gridState[GRIDSTATE_inListAddNew] = false; 4903gridState[GRIDSTATE_trackColResize] = true; 4923this.gridState[GRIDSTATE_layoutSuspended] = true; 5002this.gridState[GRIDSTATE_layoutSuspended] = false; 5021gridState[GRIDSTATE_metaDataChanged] = true; 5032gridState[GRIDSTATE_metaDataChanged] = false; 5107gridState[GRIDSTATE_trackRowResize] = true; 5219gridState[GRIDSTATE_editControlChanging] = true; 5236gridState[GRIDSTATE_editControlChanging] = false; 5243gridState[GRIDSTATE_editControlChanging] = false; 5246gridState[GRIDSTATE_isEditing] = false; 5933gridState[GRIDSTATE_isNavigating] = true; 5934gridState[GRIDSTATE_isEditing] = false; 5941gridState[GRIDSTATE_editControlChanging] = true; 5951gridState[GRIDSTATE_editControlChanging] = false; 6039gridState[GRIDSTATE_editControlChanging] = true; 6043gridState[GRIDSTATE_editControlChanging] = false; 6062gridState[GRIDSTATE_inAddNewRow] = false; 6063gridState[GRIDSTATE_isEditing] = true; 6064gridState[GRIDSTATE_isNavigating] = false; 6068gridState[GRIDSTATE_isEditing] = true; 6069gridState[GRIDSTATE_isNavigating] = false; 6869gridState[GRIDSTATE_inAddNewRow] = false; 7051gridState[GRIDSTATE_isNavigating] = false; 7380gridState[GRIDSTATE_inAddNewRow] = false; 7602gridState[GRIDSTATE_inDeleteRow] = false; 7615gridState[GRIDSTATE_inDeleteRow] = false; 7701gridState[GRIDSTATE_childLinkFocused] = false; 7779gridState[GRIDSTATE_childLinkFocused] = false; 7863gridState[GRIDSTATE_childLinkFocused] = false; 7872gridState[GRIDSTATE_childLinkFocused] = false; 7883gridState[GRIDSTATE_childLinkFocused] = false; 7900gridState[GRIDSTATE_childLinkFocused] = false; 7938gridState[GRIDSTATE_childLinkFocused] = false; 7969gridState[GRIDSTATE_childLinkFocused] = false; 8008gridState[GRIDSTATE_childLinkFocused] = false; 8037gridState[GRIDSTATE_childLinkFocused] = false; 8048gridState[GRIDSTATE_childLinkFocused] = false; 8077gridState[GRIDSTATE_childLinkFocused] = false; 8089gridState[GRIDSTATE_inDeleteRow] = true; 8100gridState[GRIDSTATE_childLinkFocused] = false; 8132gridState[GRIDSTATE_childLinkFocused] = false; 8158gridState[GRIDSTATE_childLinkFocused] = false; 8173gridState[GRIDSTATE_childLinkFocused] = false; 8280gridState[GRIDSTATE_editControlChanging] = true; 8284gridState[GRIDSTATE_editControlChanging] = false; 8351gridState[GRIDSTATE_childLinkFocused] = true; 8396gridState[GRIDSTATE_childLinkFocused] = true; 8410gridState[GRIDSTATE_childLinkFocused] = false; 8475gridState[GRIDSTATE_childLinkFocused] = false; 8491gridState[GRIDSTATE_inAddNewRow] = false; 8555gridState[GRIDSTATE_overCaption] = true; 8584gridState[GRIDSTATE_childLinkFocused] = false; 8619gridState[GRIDSTATE_isScrolling] = false; 8821gridState[GRIDSTATE_isNavigating] = false;
winforms\Managed\System\WinForms\DataGridView.cs (48)
482this.dataGridViewState1[DATAGRIDVIEWSTATE1_multiSelect] = true; 734this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToAddRows] = value; 792this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToDeleteRows] = value; 846this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToOrderColumns] = value; 891this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowUserToResizeColumns] = value; 936this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowUserToResizeRows] = value; 1045this.dataGridViewState1[DATAGRIDVIEWSTATE1_autoGenerateColumns] = value; 1081this.dataGridViewState1[DATAGRIDVIEWSTATE1_isAutoSized] = value; 1594this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = true; 1659this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = false; 1691this.dataGridViewState2[DATAGRIDVIEWSTATE2_cellMouseDownInContentBounds] = value; 1862this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = true; 1886this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = false; 1957this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = true; 2139this.dataGridViewState1[DATAGRIDVIEWSTATE1_columnHeadersVisible] = value; 2335this.dataGridViewState2[DATAGRIDVIEWSTATE2_ignoreCursorChange] = true; 2342this.dataGridViewState2[DATAGRIDVIEWSTATE2_ignoreCursorChange] = false; 2521this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor] = true; 2534this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont] = true; 2584this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont] = true; 2585this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor] = true; 2646this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = true; 2889this.dataGridViewState2[DATAGRIDVIEWSTATE2_enableHeadersVisualStyles] = value; 3566this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = value; 3623this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedCellChanged] = value; 3665this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedRowChanged] = value; 3706this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestricted] = false; 3713this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestricted] = true; 3717this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestricted] = true; // To be on the safe side 3718this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestrictedChecked] = true; 3721this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestrictedChecked] = true; 3794this.dataGridViewState1[DATAGRIDVIEWSTATE1_multiSelect] = value; 3940this.dataGridViewState1[DATAGRIDVIEWSTATE1_readOnly] = value; 3946this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = true; 3959this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = false; 4025this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode] = (this.RightToLeft == RightToLeft.Yes); 4026this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftValid] = true; 4150this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = true; 4174this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange] = false; 4278this.dataGridViewState1[DATAGRIDVIEWSTATE1_rowHeadersVisible] = value; 4782this.dataGridViewState2[DATAGRIDVIEWSTATE2_showCellErrors] = value; 4837this.dataGridViewState2[DATAGRIDVIEWSTATE2_showCellToolTips] = value; 4891this.dataGridViewState2[DATAGRIDVIEWSTATE2_showEditingIcon] = value; 4932this.dataGridViewState2[DATAGRIDVIEWSTATE2_showRowErrors] = value; 5031this.dataGridViewState1[DATAGRIDVIEWSTATE1_standardTab] = value; 5277this.dataGridViewState1[DATAGRIDVIEWSTATE1_virtualMode] = value; 6968this.dataGridViewState2[DATAGRIDVIEWSTATE2_initializing] = true; 6976this.dataGridViewState2[DATAGRIDVIEWSTATE2_initializing] = false;
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (56)
177this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = value; 260this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] = false; 262this.dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit] = true; 269this.dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit] = false; 272this.dataConnectionState[DATACONNECTIONSTATE_inAddNew] = true; 280this.dataConnectionState[DATACONNECTIONSTATE_inAddNew] = false; 454this.dataConnectionState[DATACONNECTIONSTATE_processingListChangedEvent] = true; 461this.dataConnectionState[DATACONNECTIONSTATE_processingListChangedEvent] = false; 479this.dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges] = true; 486this.dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges] = false; 498this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = true; 546this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] = true; 562this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = true; 570this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = false; 598this.dataConnectionState[DATACONNECTIONSTATE_itemAddedInDeleteOperation] = true; 624this.dataConnectionState[DATACONNECTIONSTATE_itemAddedInDeleteOperation] = false; 632this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = true; 640this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = false; 652this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = true; 659this.dataConnectionState[DATACONNECTIONSTATE_listWasReset] = true; 699this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false; 756this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] = false; 812this.dataConnectionState[DATACONNECTIONSTATE_positionChangingInCurrencyManager] = true; 839this.dataConnectionState[DATACONNECTIONSTATE_positionChangingInCurrencyManager] = false; 881this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = false; 908this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true; 935this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] = true; 937this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = true; 944this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] = false; 945this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false; 952this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] = true; 954this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = true; 961this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] = false; 962this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView] = false; 968this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false; 1106this.dataConnectionState[DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] = this.owner.AllowUserToAddRowsInternal; 1116this.dataConnectionState[DATACONNECTIONSTATE_interestedInRowEvents] = true; 1143this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = false; 1154this.dataConnectionState[DATACONNECTIONSTATE_dataConnection_inSetDataConnection] = true; 1168this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp] = true; 1195this.dataConnectionState[DATACONNECTIONSTATE_dataConnection_inSetDataConnection] = false; 1385this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit] = true; 1386this.dataConnectionState[DATACONNECTIONSTATE_restoreRow] = restoreRow; 1415this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit] = false; 1420this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] = true; 1426this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true; 1433this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false; 1451this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true; 1481this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false; 1501this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = true; 1508this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] = false; 1514this.dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew] = true; 1530this.dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew] = false; 1536this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] = true; 1663this.dataConnectionState[DATACONNECTIONSTATE_interestedInRowEvents] = false; 1673this.dataConnectionState[DATACONNECTIONSTATE_interestedInRowEvents] = true;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (159)
87this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowCreatedByEditing] = createdByEditing; 323this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 445this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 544this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumn] = true; 876this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = false; 883this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumn] = false; 895this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumns] = true; 980this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = false; 1054this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = false; 1194this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowHorizontalScrollbar] = false; 1234this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowHorizontalScrollbar] = true; 1272this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumns] = false; 1731this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 1804this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 1874this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 2004this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 2177this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 2305this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 2427this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = true; 2469this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] = true; 2510this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation] = true; 2511this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion] = false; 2536this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] = true; 2551this.dataGridViewOper[DATAGRIDVIEWOPER_trackKeyboardColResize] = true; 2614this.dataGridViewOper[DATAGRIDVIEWOPER_inBeginEdit] = true; 2682this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode] = true; 2764this.dataGridViewOper[DATAGRIDVIEWOPER_inBeginEdit] = false; 2793this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize] = true; 2814this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize] = true; 3113this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true; 3140this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false; 4947this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = true; 4967this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = false; 4982this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = true; 5002this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = false; 5586this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] = true; 5676this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] = false; 5811this.dataGridViewOper[DATAGRIDVIEWOPER_lastEditCtrlClickDoubled] = false; 5830this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] = true; 5877this.dataGridViewOper[DATAGRIDVIEWOPER_lastEditCtrlClickDoubled] = true; 5978this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] = false; 6029this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = true; 6049this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = false; 6104this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion] = false; 6212this.dataGridViewOper[DATAGRIDVIEWOPER_inEndEdit] = true; 6257this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingCtrl] = this.MouseOverEditingControl; 6258this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingPanel] = this.MouseOverEditingPanel; 6259this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = true; 6266this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = false; 6293this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode] = false; 6307this.dataGridViewOper[DATAGRIDVIEWOPER_inEndEdit] = false; 9843this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true; 9873this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false; 9894this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = true; 9895this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true; 9914this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = false; 9915this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false; 10668this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion] = ColumnRelocationTarget(e, hti, out this.trackColumnEdge); 10928this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 11051this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 11364this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 11445this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 11655this.dataGridViewState2[DATAGRIDVIEWSTATE2_inBindingContextChanged] = true; 11695this.dataGridViewState2[DATAGRIDVIEWSTATE2_inBindingContextChanged] = false; 12213this.dataGridViewState2[DATAGRIDVIEWSTATE2_nextMouseUpIsDouble] = false; 12245this.dataGridViewState2[DATAGRIDVIEWSTATE2_nextMouseUpIsDouble] = true; 12304this.dataGridViewOper[DATAGRIDVIEWOPER_resizingOperationAboutToStart] = (e.Clicks == 1); 12432this.dataGridViewOper[DATAGRIDVIEWOPER_resizingOperationAboutToStart] = false; 12517this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] = true; 12602this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] = true; 12682this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] = true; 12779this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] = true; 12862this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] = true; 13239this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont] = false; 13243this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = false; 13247this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = false; 13254this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor] = false; 13526this.dataGridViewOper[DATAGRIDVIEWOPER_inCellValidating] = true; 13539this.dataGridViewOper[DATAGRIDVIEWOPER_inCellValidating] = false; 13683this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] = this.selectedBandIndexes.Count > 0 || 13849this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = true; 13881this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments] = false; 13980this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 14284this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] = true; 14491this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 14825this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 14840this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty] = true; 15173this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] = true; 15526this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey] = false; 15599this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = true; 15608this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = true; 15617this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont] = true; 15636this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor] = true; 15742this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle] = false; 16013this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true; 16517this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves] = true; 16564this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingCtrl] = false; 16565this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingPanel] = false; 16566this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseEnterExpected] = false; 16575this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = false; 16598this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves] = false; 16604this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseEnterExpected] = true; 16655this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = true; 16677this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = true; 16702this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet] = false; 16789this.dataGridViewState1[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = false; 17477this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false; 17539this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true; 17681this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] |= this.individualSelectedCells.RemoveAllCellsAtBand(true /*column*/, columnIndex) > 0 || 17692this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false; 17747this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true; 17810this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] |= this.individualSelectedCells.RemoveAllCellsAtBand(false /*column*/, rowIndexDeleted) > 0 || 17859this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellSelected] = this.individualSelectedCells.Contains(dataGridViewCell); 17864this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellReadOnly] = this.individualReadOnlyCells.Contains(dataGridViewCell); 17954this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftValid] = false; 18118this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited] = false; 18126this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited] = true; 18565this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] = true; 19301this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowCreatedByEditing] = false; 19398this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingVerticalScroll] = true; 19419this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingVerticalScroll] = false; 19429this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingHorizontalScroll] = true; 19434this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingHorizontalScroll] = false; 19453this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged] = false; 19597this.dataGridViewState2[DATAGRIDVIEWSTATE2_discardEditingControl] = true; 20358this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = true; 20394this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden] = true; 20427this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden] = false; 20437this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging] = false; 20648this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey] = true; 22341this.dataGridViewState1[DATAGRIDVIEWSTATE1_forwardCharMessage] = true; 22354this.dataGridViewState1[DATAGRIDVIEWSTATE1_forwardCharMessage] = false; 22422this.dataGridViewState2[DATAGRIDVIEWSTATE2_currentCellWantsInputKey] = ((IDataGridViewEditingControl)this.editingControl).EditingControlWantsInputKey(ke.KeyData, dataGridViewWantsInputKey); 22441this.dataGridViewState2[DATAGRIDVIEWSTATE2_currentCellWantsInputKey] = true; 25585this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns] = true; 25623this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns] = false; 25687this.dataGridViewState2[DATAGRIDVIEWSTATE2_rowsCollectionClearedInSetCell] = true; 25965this.dataGridViewOper[DATAGRIDVIEWOPER_mouseOperationMask] = false; 25966this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] = false; 25967this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] = false; 25968this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] = false; 25986this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion] = false; 26001this.dataGridViewOper[DATAGRIDVIEWOPER_keyboardOperationMask] = false; 26353this.dataGridViewState1[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = true; 26464this.dataGridViewState1[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = true; 26856this.dataGridViewOper[DATAGRIDVIEWOPER_inCurrentCellChange] = true; 26871this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false; 26945this.dataGridViewState2[DATAGRIDVIEWSTATE2_rowsCollectionClearedInSetCell] = false; 27050this.dataGridViewState2[DATAGRIDVIEWSTATE2_rowsCollectionClearedInSetCell] = false; 27152this.dataGridViewState2[DATAGRIDVIEWSTATE2_discardEditingControl] = false; 27177this.dataGridViewOper[DATAGRIDVIEWOPER_inCurrentCellChange] = false; 27569this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = true; 27574this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = false; 27605this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = true; 27610this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange] = false; 28237this.dataGridViewOper[DATAGRIDVIEWOPER_inSort] = true; 28324this.dataGridViewOper[DATAGRIDVIEWOPER_inSort] = false; 29967this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown] = true; 29974this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown] = false;
winforms\Managed\System\WinForms\Layout\TableLayout.cs (5)
1709_state[stateChildInfoValid] = true; 1737set { _state[stateValid] = value; 1739_state[stateChildInfoValid] = false; 1768set { _state[stateChildHasColumnSpan] = value; } 1773set { _state[stateChildHasRowSpan] = value; }
winforms\Managed\System\WinForms\ListView.cs (57)
340listViewState[LISTVIEWSTATE_allowColumnReorder] = value; 364listViewState[LISTVIEWSTATE_autoArrange] = value; 429listViewState[LISTVIEWSTATE_backgroundImageTiled] = value; 515listViewState[LISTVIEWSTATE_checkBoxes] = value; 551listViewState[LISTVIEWSTATE_checkBoxes] = value; 666listViewState[LISTVIEWSTATE_comctlSupportsVisualStylesTested] = true; 667listViewState[LISTVIEWSTATE_comctlSupportsVisualStyles] = Application.ComCtlSupportsVisualStyles; 873this.listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] = value; 894listViewState[LISTVIEWSTATE_fullRowSelect] = value; 917listViewState[LISTVIEWSTATE_gridLines] = value; 980listViewState[LISTVIEWSTATE_nonclickHdr] = !listViewState[LISTVIEWSTATE_nonclickHdr]; 1006listViewState[LISTVIEWSTATE_hideSelection] = value; 1027listViewState[LISTVIEWSTATE_hotTracking] = value; 1057listViewState[LISTVIEWSTATE_hoverSelection] = value; 1095this.listViewState[LISTVIEWSTATE_itemCollectionChangedInMouseDown] = value; 1132listViewState[LISTVIEWSTATE_labelEdit] = value; 1154listViewState[LISTVIEWSTATE_labelWrap] = value; 1213listViewState[LISTVIEWSTATE_handleDestroyed] = value; 1257listViewState[LISTVIEWSTATE_multiSelect] = value; 1281listViewState[LISTVIEWSTATE_ownerDraw] = value; 1346listViewState[LISTVIEWSTATE_scrollable] = value; 1400this.listViewState[LISTVIEWSTATE_showGroups] = value; 1471listViewState[LISTVIEWSTATE_showItemToolTips] = value; 1755this.listViewState1[LISTVIEWSTATE1_useCompatibleStateImageBehavior] = value; 1885listViewState[LISTVIEWSTATE_virtualMode] = value; 2916listViewState1[LISTVIEWSTATE1_disposingImageLists] = true; 2932listViewState1[LISTVIEWSTATE1_disposingImageLists] = false; 3872this.listViewState1[LISTVIEWSTATE1_insertingItemsNatively] = true; 3976this.listViewState1[LISTVIEWSTATE1_insertingItemsNatively] = false; 3982this.listViewState1[LISTVIEWSTATE1_selectedIndexChangedSkipped] = false; 4250listViewState[LISTVIEWSTATE_comctlSupportsVisualStylesTested] = false; 5410listViewState[LISTVIEWSTATE_mouseUpFired] = false; 5411listViewState[LISTVIEWSTATE_expectingMouseUp] = true; 5519listViewState[LISTVIEWSTATE_columnClicked] = false; 5525this.listViewState[LISTVIEWSTATE_headerControlTracking] = true; 5528this.listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging] = false; 5530this.listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging] = false; 5563this.listViewState[LISTVIEWSTATE_columnResizeCancelled] = true; 5566this.listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging] = true; 5629this.listViewState[LISTVIEWSTATE_headerControlTracking] = false; 5639this.listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging] = false; 5712this.listViewState[LISTVIEWSTATE_headerDividerDblClick] = true; 5716this.listViewState[LISTVIEWSTATE_columnResizeCancelled] = false; 5731this.listViewState[LISTVIEWSTATE_headerDividerDblClick] = false; 5733this.listViewState[LISTVIEWSTATE_columnResizeCancelled] = false; 5827listViewState[LISTVIEWSTATE_inLabelEdit] = !e.CancelEdit; 5833listViewState[LISTVIEWSTATE_columnClicked] = true; 5840listViewState[LISTVIEWSTATE_inLabelEdit] = false; 5952this.listViewState1[LISTVIEWSTATE1_selectedIndexChangedSkipped] = false; 5957this.listViewState1[LISTVIEWSTATE1_selectedIndexChangedSkipped] = true; 5984listViewState[LISTVIEWSTATE_mouseUpFired] = true; 5999listViewState[LISTVIEWSTATE_doubleclickFired] = true; 6002listViewState[LISTVIEWSTATE_mouseUpFired] = false; 6282listViewState[LISTVIEWSTATE_doubleclickFired] = false; 6289listViewState[LISTVIEWSTATE_expectingMouseUp] = false; 6294listViewState[LISTVIEWSTATE_mouseUpFired] = true; 6315listViewState[LISTVIEWSTATE_mouseUpFired] = true;
winforms\Managed\System\WinForms\MaskedTextBox.cs (45)
127this.flagState[IS_NULL_MASK] = true; 142this.flagState[IS_NULL_MASK] = false; 156this.flagState[IS_NULL_MASK] = false; 180this.flagState[HIDE_PROMPT_ON_LEAVE ] = false; 181this.flagState[BEEP_ON_ERROR ] = false; 182this.flagState[USE_SYSTEM_PASSWORD_CHAR ] = false; 183this.flagState[REJECT_INPUT_ON_FIRST_FAILURE] = false; 187this.flagState[CUTCOPYINCLUDEPROMPT ] = this.maskedTextProvider.IncludePrompt; 188this.flagState[CUTCOPYINCLUDELITERALS ] = this.maskedTextProvider.IncludeLiterals; 191this.flagState[HANDLE_KEY_PRESS] = true; 313this.flagState[BEEP_ON_ERROR] = value; 450this.flagState[CUTCOPYINCLUDEPROMPT] = true; 451this.flagState[CUTCOPYINCLUDELITERALS] = false; 455this.flagState[CUTCOPYINCLUDEPROMPT] = false; 456this.flagState[CUTCOPYINCLUDELITERALS] = true; 461this.flagState[CUTCOPYINCLUDEPROMPT] = include; 462this.flagState[CUTCOPYINCLUDELITERALS] = include; 506this.flagState[HIDE_PROMPT_ON_LEAVE] = value; 670this.flagState[QUERY_BASE_TEXT] = true; 677this.flagState[QUERY_BASE_TEXT] = false; 730this.flagState[IS_NULL_MASK] = true; 1078this.flagState[REJECT_INPUT_ON_FIRST_FAILURE] = value; 1192this.flagState[IME_COMPLETING] = true; 1606this.flagState[USE_SYSTEM_PASSWORD_CHAR] = value; 1824this.flagState[QUERY_BASE_TEXT] = true; 1831this.flagState[QUERY_BASE_TEXT] = false; 1844this.flagState[QUERY_BASE_TEXT] = true; 1851this.flagState[QUERY_BASE_TEXT] = false; 1944this.flagState[QUERY_BASE_TEXT] = true; 1951this.flagState[QUERY_BASE_TEXT] = false; 1964this.flagState[QUERY_BASE_TEXT] = true; 1971this.flagState[QUERY_BASE_TEXT] = false; 2060this.flagState[HANDLE_KEY_PRESS] = false; 2068this.flagState[INSERT_TOGGLED] = !this.flagState[INSERT_TOGGLED]; 2096this.flagState[HANDLE_KEY_PRESS] = false; 2137this.flagState[HANDLE_KEY_PRESS] = true; 2191this.flagState[HANDLE_KEY_PRESS] = true; 2261this.flagState[IME_COMPLETING] = false; 2266this.flagState[IME_ENDING_COMPOSITION] = false; 2367this.flagState[QUERY_BASE_TEXT] = false; 2374this.flagState[QUERY_BASE_TEXT] = queryBaseText; 2853this.flagState[IS_NULL_MASK] = false; 2910this.flagState[QUERY_BASE_TEXT] = true; 2933this.flagState[QUERY_BASE_TEXT] = false; 3240this.flagState[IME_ENDING_COMPOSITION] = true;
winforms\Managed\System\WinForms\PictureBox.cs (15)
205pictureBoxState[PICTUREBOXSTATE_cancellationPending] = true; 312pictureBoxState[PICTUREBOXSTATE_useDefaultErrorImage] = false; 412pictureBoxState[PICTUREBOXSTATE_needToLoadImageLocation] = !string.IsNullOrEmpty(imageLocation); 513pictureBoxState[PICTUREBOXSTATE_useDefaultInitialImage] = false; 577pictureBoxState[PICTUREBOXSTATE_needToLoadImageLocation] = false; 648pictureBoxState[PICTUREBOXSTATE_asyncOperationInProgress] = true; 666pictureBoxState[PICTUREBOXSTATE_needToLoadImageLocation] = false; 667pictureBoxState[PICTUREBOXSTATE_cancellationPending] = false; 726pictureBoxState[PICTUREBOXSTATE_cancellationPending] = false; 727pictureBoxState[PICTUREBOXSTATE_asyncOperationInProgress] = false; 888pictureBoxState[PICTUREBOXSTATE_useDefaultInitialImage] = true; 894pictureBoxState[PICTUREBOXSTATE_useDefaultErrorImage] = true; 1404pictureBoxState[PICTUREBOXSTATE_waitOnLoad] = value; 1419pictureBoxState[PICTUREBOXSTATE_inInitialization] = true; 1436pictureBoxState[PICTUREBOXSTATE_inInitialization] = false;
winforms\Managed\System\WinForms\StatusStrip.cs (4)
52state[stateSizingGrip] = true; 214state[stateSizingGrip] = value; 334state[stateCalledSpringTableLayout] = false; 447state[stateCalledSpringTableLayout]= true;
winforms\Managed\System\WinForms\TabControl.cs (30)
492tabControlState[TABCONTROLSTATE_hotTrack] = value; 561tabControlState[TABCONTROLSTATE_getTabRectfromItemSize] = true; 596tabControlState[TABCONTROLSTATE_insertingItem] = value; 619tabControlState[TABCONTROLSTATE_multiline] = value; 742tabControlState[TABCONTROLSTATE_UISelection] = true; 745tabControlState[TABCONTROLSTATE_UISelection] = false; 749tabControlState[TABCONTROLSTATE_UISelection] = false; 759tabControlState[TABCONTROLSTATE_selectFirstControl] = true; 761tabControlState[TABCONTROLSTATE_UISelection] = false; 762tabControlState[TABCONTROLSTATE_selectFirstControl] = false; 767tabControlState[TABCONTROLSTATE_selectFirstControl] = false; 864tabControlState[TABCONTROLSTATE_showToolTips] = value; 1243tabControlState[TABCONTROLSTATE_getTabRectfromItemSize] = false ; 1382tabControlState[TABCONTROLSTATE_fromCreateHandles] = true; 1386tabControlState[TABCONTROLSTATE_fromCreateHandles] = false; 1546tabControlState[TABCONTROLSTATE_UISelection] = false; 1672tabControlState[TABCONTROLSTATE_fromCreateHandles] = true; 1676tabControlState[TABCONTROLSTATE_fromCreateHandles] = false; 1814tabControlState[TABCONTROLSTATE_UISelection] = false; 1818tabControlState[TABCONTROLSTATE_UISelection] = false; 1840tabControlState[TABCONTROLSTATE_UISelection] = true; 1841tabControlState[TABCONTROLSTATE_selectFirstControl] = true; 1844tabControlState[TABCONTROLSTATE_selectFirstControl] = !focused; 1853tabControlState[TABCONTROLSTATE_selectFirstControl] = false; 1935tabControlState[TABCONTROLSTATE_UISelection] = false; 2176tabControlState[TABCONTROLSTATE_UISelection] = false; 2182tabControlState[TABCONTROLSTATE_UISelection] = false; 2186tabControlState[TABCONTROLSTATE_UISelection] = true; 2192tabControlState[TABCONTROLSTATE_UISelection] = false; 2196tabControlState[TABCONTROLSTATE_UISelection] = true;
winforms\Managed\System\WinForms\TextBoxBase.cs (22)
119textBoxFlags[autoSize | hideSelection | wordWrap | shortcutsEnabled] = true; 154textBoxFlags[acceptsTab] = value; 199textBoxFlags[shortcutsEnabled] = value; 267textBoxFlags[autoSize] = value; 620textBoxFlags[hideSelection] = value; 786textBoxFlags[modified] = curState; 805textBoxFlags[modified] = value; 846textBoxFlags[multiline] = value; 1070textBoxFlags[readOnly] = value; 1293textBoxFlags[codeUpdateText] = true; 1298textBoxFlags[codeUpdateText] = false; 1315textBoxFlags[codeUpdateText] = true; 1330textBoxFlags[codeUpdateText] = false; 1355textBoxFlags[wordWrap] = value; 1480textBoxFlags[creatingHandle] = true; 1491textBoxFlags[creatingHandle] = false; 1564textBoxFlags[scrollToCaretOnHandleCreated] = false; 1573textBoxFlags[modified] = Modified; 1574textBoxFlags[setSelectionOnHandleCreated] = true; 1899textBoxFlags[scrollToCaretOnHandleCreated] = true; 1965textBoxFlags[setSelectionOnHandleCreated] = true; 2060textBoxFlags[setSelectionOnHandleCreated] = false;
winforms\Managed\System\WinForms\ToolBar.cs (5)
203toolBarState[TOOLBARSTATE_autoSize] = value; 502toolBarState[TOOLBARSTATE_divider] = value; 578toolBarState[TOOLBARSTATE_dropDownArrows] = value; 865toolBarState[TOOLBARSTATE_showToolTips] = value; 963toolBarState[TOOLBARSTATE_wrappable] = value;
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (1)
384state[stateLastDoubleBuffer] = this.DoubleBuffered;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (10)
159state[stateAllowTransparency] = value; 161state[stateLayered] = state[stateAllowTransparency]; 594state[stateIsRestrictedWindowChecked] = true; 595state[stateIsRestrictedWindow] = false; 613state[stateIsRestrictedWindow] = true; 772state[stateLayered] = true; 776state[stateLayered] = false; 1085state[stateNotWorkingAreaConstrained] = notConstrained; 1796state[stateInSetVisibleCore] = true; 2004state[stateInSetVisibleCore] = false;
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (4)
227state[stateShowImageMargin] = value; 245state[stateShowCheckMargin] = value; 512state[stateMaxItemSizeValid]=true; 575state[stateShowImageMargin] = true;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
28 options[optionsDottedBorder | optionsDottedGrip | optionsFillWhenSelected] = !systemRenderMode;
winforms\Managed\System\WinForms\ToolStripItem.cs (35)
191state[stateEnabled | stateAutoSize | stateVisible | stateContstructing | stateSupportsItemClick | stateInvalidMirroredImage | stateMouseDownAndUpMustBeInSameItem | stateUseAmbientMargin] = true; 192state[stateAllowDrop | stateMouseDownAndNoDrag | stateSupportsRightClick | statePressed | stateSelected | stateDisposed | stateDoubleClickEnabled | stateRightToLeftAutoMirrorImage | stateSupportsSpaceKey] = false; 197state[stateContstructing] = false; 385state[stateAllowDrop] = value; 406state[stateAutoSize] = value; 426state[stateAutoToolTip] = value; 829state[stateDoubleClickEnabled] = value; 950state[stateEnabled] = value; 954state[stateSelected | statePressed] = false; 1249state[stateInvalidMirroredImage] = true; 1273state[stateInvalidMirroredImage] = true; 1335state[stateInvalidMirroredImage] = true; 1374state[stateInvalidMirroredImage] = true; 1522state[stateUseAmbientMargin] = false; 1591set { state[stateMouseDownAndUpMustBeInSameItem] = value; } 2087state[stateRightToLeftAutoMirrorImage] = value; 2104state[stateInvalidMirroredImage] = false; 2201state[stateSupportsRightClick] = value; 2210state[stateSupportsItemClick] = value; 2219state[stateSupportsSpaceKey] = value; 2229state[stateSupportsDisabledHotTracking] = value; 2478state[stateCurrentlyAnimatingImage] = animate; 2484state[stateCurrentlyAnimatingImage] = animate; 2531state[stateDisposing] = true; 2538state[stateDisposed] = true; 2548state[stateDisposing] = false; 2806state[statePressed] = true; 2825state[statePressed] = false; 2905state[stateMouseDownAndNoDrag | statePressed | stateSelected] = false; 2925state[stateMouseDownAndNoDrag] = !BeginDragForItemReorder(); 3419state[statePressed] = push; 3546state[stateSelected] = true; 3604state[stateVisible]= visible; 3811state[stateUseAmbientMargin] = true; 3929state[stateSelected] = false;
winforms\Managed\System\WinForms\ToolStripPanel.cs (12)
87this.state[stateLocked | stateBeginInit | stateChangingZOrder] = false; 236state[stateLocked] = value; 431state[stateBeginInit] = true; 436state[stateBeginInit] = false; 437state[stateEndInit] = true; 444state[stateEndInit] = false; 565state[stateLayoutSuspended] = true; 571state[stateLayoutSuspended] = false; 605state[stateRightToLeftChanged] = true; 702state[stateRightToLeftChanged] = false; 952state[stateInJoin] = true; 957state[stateInJoin] = false;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (8)
73this.state[stateVisible] = visible; 74this.state[stateDisposing | stateLocked| stateInitialized] = false; 131state[stateCachedBoundsMode] = value; 205state[stateInitialized] = value; 286state[stateDisposing] = true; 291state[stateDisposing] = false; 365state[stateInLayout] = true; 390state[stateInLayout] = false;
winforms\Managed\System\WinForms\ToolStripRendererSwitcher.cs (9)
36state[stateUseDefaultRenderer] = true; 37state[stateAttachedRendererChanged] = false; 54state[stateUseDefaultRenderer] = false; 65state[stateUseDefaultRenderer] = (value == null); 105state[stateUseDefaultRenderer] = true; 110state[stateUseDefaultRenderer] = false; 132state[stateAttachedRendererChanged] = false; 142state[stateAttachedRendererChanged] = true; 148state[stateAttachedRendererChanged] = false;
winforms\Managed\System\WinForms\TreeNode.cs (1)
321treeNodeState[TREENODESTATE_isChecked] = value;
winforms\Managed\System\WinForms\TreeView.cs (29)
326treeViewState[TREEVIEWSTATE_checkBoxes] = value; 483treeViewState[TREEVIEWSTATE_fullRowSelect] = value; 508treeViewState[TREEVIEWSTATE_hideSelection] = value; 534treeViewState[TREEVIEWSTATE_hotTracking] = value; 846treeViewState[TREEVIEWSTATE_labelEdit] = value; 1026treeViewState[TREEVIEWSTATE_scrollable] = value; 1169treeViewState[TREEVIEWSTATE_showLines] = value; 1192treeViewState[TREEVIEWSTATE_showNodeToolTips] = value; 1215treeViewState[TREEVIEWSTATE_showPlusMinus] = value; 1237treeViewState[TREEVIEWSTATE_showRootLines] = value; 1261treeViewState[TREEVIEWSTATE_sorted] = value; 2042treeViewState[TREEVIEWSTATE_stopResizeWindowMsgs] = true; 2056treeViewState[TREEVIEWSTATE_stopResizeWindowMsgs] = false; 3047treeViewState[TREEVIEWSTATE_showTreeViewContextMenu] = true; 3061treeViewState[TREEVIEWSTATE_mouseUpFired] = true; 3237treeViewState[TREEVIEWSTATE_doubleclickFired] = true; 3239treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3247treeViewState[TREEVIEWSTATE_ignoreSelects] = true; 3255treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3305treeViewState[TREEVIEWSTATE_doubleclickFired] = false; 3316treeViewState[TREEVIEWSTATE_doubleclickFired] = false; 3317treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3325treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3330treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3343treeViewState[TREEVIEWSTATE_doubleclickFired] = true; 3345treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3352treeViewState[TREEVIEWSTATE_mouseUpFired] = false; 3372treeViewState[TREEVIEWSTATE_lastControlValidated] = false; 3384treeViewState[TREEVIEWSTATE_showTreeViewContextMenu] = false;
winforms\Managed\System\WinForms\WebBrowser.cs (8)
108webBrowserState[WEBBROWSERSTATE_allowNavigation] = value; 176webBrowserState[WEBBROWSERSTATE_webBrowserShortcutsEnabled] = value; 207webBrowserState[WEBBROWSERSTATE_canGoBack] = value; 240webBrowserState[WEBBROWSERSTATE_canGoForward] = value; 314webBrowserState[WEBBROWSERSTATE_documentStreamJustSet] = true; 319webBrowserState[WEBBROWSERSTATE_documentStreamJustSet] = false; 485webBrowserState[WEBBROWSERSTATE_isWebBrowserContextMenuEnabled] = value; 945webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled] = value;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
664this.axHostState[mask] = value;
906 references to
PresentationCore (1)
Core\CSharp\System\Windows\RoutedEventArgs.cs (1)
395return _flags[InvokingHandlerIndex];
PresentationFramework (1)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
438return _axHostState[mask];
System (44)
compmod\system\componentmodel\MaskedTextProvider.cs (7)
465return this.flagState[ALLOW_PROMPT_AS_INPUT]; 617return this.flagState[INCLUDE_LITERALS]; 633return this.flagState[INCLUDE_PROMPT]; 648return this.flagState[ASCII_ONLY]; 826return this.flagState[RESET_ON_PROMPT]; 845return this.flagState[SKIP_SPACE]; 865return this.flagState[RESET_ON_LITERALS];
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (11)
244if (!state[BitAmbientValueQueried]) { 263if (!state[BitChangedQueried]) { 287if (!state[BitIPropChangedQueried]) { 317if (!state[BitDefaultValueQueried]) { 340if (!state[BitGetQueried]) { 409if (!state[BitResetQueried]) { 448if (!state[BitSetQueried] && state[BitSetOnDemand]) 476if (!state[BitSetQueried]) { 512if (!state[BitShouldSerializeQueried]) { 988if (state[BitChangedQueried] && realChangedEvent == null) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (26)
452return boolFlags[Flag_monitoring]; 610if (boolFlags[Flag_initializing]) throw new InvalidOperationException(SR.GetString(SR.InitTwice)); 612if (boolFlags[Flag_monitoring]) 685if (boolFlags[Flag_monitoring]) 705if (boolFlags[Flag_disposed]) { 712if (boolFlags[Flag_notifying]) { 817if (boolFlags[Flag_monitoring]) 955if (cache == null || (boolFlags[Flag_forwards] && entryIndex < firstCachedEntry) || 956(!boolFlags[Flag_forwards] && entryIndex > firstCachedEntry) || firstCachedEntry == -1) { 973if (boolFlags[Flag_forwards]) { 986if (boolFlags[Flag_forwards]) { 1000if (boolFlags[Flag_forwards]) 1009if (boolFlags[Flag_forwards]) 1281if (this.boolFlags[Flag_disposed]) 1322if (this.boolFlags[Flag_disposed]) 1367bool isMonitoring = boolFlags[Flag_monitoring]; 1368bool isListening = boolFlags[Flag_registeredAsListener]; 1418Debug.Assert(!boolFlags[Flag_registeredAsListener], "StartListening called with boolFlags[Flag_registeredAsListener] true."); 1426if (!boolFlags[Flag_initializing] && !boolFlags[Flag_monitoring] && !parent.ComponentDesignMode) { 1466Debug.Assert(boolFlags[Flag_registeredAsListener], "StopListening called without StartListening."); 1474if (!boolFlags[Flag_initializing] && boolFlags[Flag_monitoring] && !parent.ComponentDesignMode) { 1511if (boolFlags[Flag_sourceVerified]) 1626if (!boolFlags[Flag_writeGranted]) { 1654if (!boolFlags[Flag_writeGranted]) {
System.Windows.Forms (860)
winforms\Managed\System\WinForms\ArrangedElement.cs (2)
123return state[stateVisible]; 126if ( state[stateVisible] != value) {
winforms\Managed\System\WinForms\AxHost.cs (51)
315if (axState[fOwnWindow] && IsUserMode()) { 323return this.axState[mask]; 567return(axState[fOwnWindow] && 610if (f.Visible && Visible && !axState[fOwnWindow]) { 1200return axState[fOwnWindow] || axState[fFakingWindow]; 1224if (axState[addedSelectionHandler]) return; 1252if (!axState[addedSelectionHandler]) return false; 1262if (DesignMode && hook != axState[renameEventHooked]) 1290if (axState[disposed]) 1320if (olduMode != newuMode && !IsHandleCreated && !axState[disposed]) { 1413if (!axState[fOwnWindow]) { 1414if (axState[fNeedOwnWindow]) { 1428if (axState[fNeedOwnWindow]) { 1572if (axState[fFakingWindow]) { 1595if (axState[manualUpdate]) { 1627this.WindowAssignHandle(handle, axState[assignUniqueID]); 1641if (axState[fOwnWindow]) { 1664if (axState[inTransition]) { 1685if (axState[fFakingWindow]) { 1719if (axState[inTransition]) { 1748Debug.Assert(!axState[fOwnWindow], "If we are invis at runtime, we should never be going beynd OC_RUNNING"); 1749if (!axState[fOwnWindow]) { 1770if (!IsUserMode() && !axState[ocxStateSet]) { 1853Debug.Assert(axState[fFakingWindow], "have to be faking it in order to destroy it..."); 1892if (!axState[fOwnWindow]) { 1895if (axState[fFakingWindow]) { 1921Debug.Assert(!axState[fFakingWindow], "if we were visible, we could not have had a fake window..."); 1929if (!axState[fOwnWindow]) { 1956Debug.Assert(!axState[fOwnWindow], "can't own our window when hiding"); 2030if (axState[siteProcessedInputKey]) { 2075else if (axState[siteProcessedInputKey]) { 2170Debug.Assert(!axState[disposed], "we chould not be asking for the object when we are axState[disposed]..."); 2350if (axState[valueChanged]) { 2504bool ownDispose = this.axState[ownDisposing]; 2530if (licenseKey != null || !axState[needLicenseKey]) { 2720if (!axState[editorRefresh] && HasPropertyPages()) { 2819if (axState[refreshProperties]) { 2826return axState[refreshProperties]; 2830if (value && !axState[listeningToIdle]) { 2834else if (!value && axState[listeningToIdle]) { 3228if (!axState[sinkAttached]) { 3242if (axState[sinkAttached]) { 3424if (false && (axState[manualUpdate] && IsUserMode())) { 3522if (axState[processingKeyUp]) 3599if (!axState[fFakingWindow]) { 3600this.WindowAssignHandle(hwnd, axState[assignUniqueID]); 4502if (!GetControlEnabled() || axState[rejectSelection]) return false; 4531return axState[ownDisposing]; 4701if (iCategorizeProperties == null && !axState[checkedCP] && instance != null) { 4711if (iPerPropertyBrowsing == null && !axState[checkedIppb] && instance != null) {
winforms\Managed\System\WinForms\ContainerControl.cs (8)
617if( this.state[stateProcessingMnemonic]){ 853if (!state[stateScalingChild] && !performLayout && AutoScaleMode != AutoScaleMode.None && AutoScaleMode != AutoScaleMode.Inherit && state[stateScalingNeededOnLayout]) { 1024if (state[stateScalingNeededOnLayout]) { 1025PerformAutoScale(state[stateScalingNeededOnLayout], false); 1108bool scaleUs = (requestingControl != this || state[stateParentChanged]); 1599if (state[stateValidating]) { 1781if (state[stateValidating])
winforms\Managed\System\WinForms\Control.cs (30)
16447return activeXState[eventsFrozen]; 16532if (activeXState[inPlaceActive]) { 16538activeXState[isDirty]) { 16613if (activeXState[inPlaceVisible]) { 16806if (activeXState[viewAdviseOnlyOnce]) padvf[0] |= NativeMethods.ADVF_ONLYONCE; 16807if (activeXState[viewAdvisePrimeFirst]) padvf[0] |= NativeMethods.ADVF_PRIMEFIRST; 17007if (!activeXState[inPlaceActive]) { 17045if (!activeXState[inPlaceActive]) { 17065if (!activeXState[inPlaceVisible]) { 17116Debug.Assert(activeXState[inPlaceVisible], "Failed to set inplacevisible"); 17128if (!activeXState[uiActive]) { 17177if (!activeXState[inPlaceActive]) { 17183if (activeXState[uiActive]) { 17225if (activeXState[isDirty]) { 17562if (activeXState[uiActive] && fActivate != 0 && inPlaceFrame != null) { 17584if (activeXState[inPlaceActive] && clientSite is UnsafeNativeMethods.IOleControlSite) { 17594if (focus && activeXState[inPlaceActive] && !activeXState[uiActive]) { 18117if (activeXState[viewAdvisePrimeFirst]) { 18245if (activeXState[changingExtents]) { 18258if (activeXState[inPlaceActive]) { 18285if (!activeXState[inPlaceActive]) { 18292if (!activeXState[inPlaceActive] && clientSite != null) { 18360if (activeXState[adjustingRect]) { 18581if (!activeXState[uiActive]) { 18627if (!activeXState[adjustingRect] && activeXState[inPlaceVisible]) { 18712if (viewAdviseSink != null && !activeXState[saving]) { 18721if (activeXState[viewAdviseOnlyOnce]) { 18741if (activeXState[uiDead]) {
winforms\Managed\System\WinForms\DataGrid.cs (75)
396return gridState[GRIDSTATE_allowSorting]; 674return gridState[GRIDSTATE_listHasErrors]; 916bool wasEditing = gridState[GRIDSTATE_isEditing]; 1014if (gridState[GRIDSTATE_isEditing]) 1016} else if (gridState[GRIDSTATE_inAddNewRow]) { 1568if (!force && !dataSourceChanged && !dataMemberChanged && gridState[GRIDSTATE_inSetListManager]) 1659if (listManagerChanged || gridState[GRIDSTATE_metaDataChanged]) { 1962return gridState[GRIDSTATE_isFlatMode]; 2268if (gridState[GRIDSTATE_isScrolling]) 2272if (currentCol >= firstVisibleCol && currentCol < firstVisibleCol + numVisibleCols - 1 && (gridState[GRIDSTATE_isEditing] || gridState[GRIDSTATE_isNavigating])) 2329return gridState[GRIDSTATE_isLedgerStyle]; 2462return gridState[GRIDSTATE_allowNavigation]; 2745return gridState[GRIDSTATE_readOnlyMode]; 2813return gridState[GRIDSTATE_columnHeadersVisible]; 2888return gridState[GRIDSTATE_rowHeadersVisible]; 3118if (gridState[GRIDSTATE_inListAddNew]) { 3131} else if (gridState[GRIDSTATE_inAddNewRow] && !gridState[GRIDSTATE_inDeleteRow]) { 3136} else if (!gridState[GRIDSTATE_inDeleteRow]) { 3239if (this.DataGridRowsLength > this.listManager.Count + (policy.AllowAdd?1:0) && !gridState[GRIDSTATE_inDeleteRow]) { 3240Debug.Assert(!gridState[GRIDSTATE_inAddNewRow] && !gridState[GRIDSTATE_inListAddNew], "how can the list decrease when we are adding a row?"); 3739if (this.DataSource != null && !gridState[GRIDSTATE_inSetListManager]) 3864if (gridState[GRIDSTATE_editControlChanging]) return; 3869if (gridState[GRIDSTATE_layoutSuspended]) return; 3932if (gridState[GRIDSTATE_canFocus] && !gridState[GRIDSTATE_editControlChanging]) { 3955if (this.listManager != null && !this.gridState[GRIDSTATE_editControlChanging]) { 3956if (gridState[GRIDSTATE_inAddNewRow]) { 3973if (!this.gridState[GRIDSTATE_editControlChanging]) 4194if (gridState[GRIDSTATE_overCaption]) { 4220if (gridState[GRIDSTATE_trackColResize]) { 4224if (gridState[GRIDSTATE_trackRowResize]) 4229if (gridState[GRIDSTATE_trackColResize] || location.type == HitTestType.ColumnResize) 4234else if ( gridState[GRIDSTATE_trackRowResize] || location.type == HitTestType.RowResize) 4251if (lastRowSelected != -1 && !gridState[GRIDSTATE_dragging]) { 4259if (!localGridRows[rowOver].OnMouseMove(p.X, p.Y, layout.RowHeaders, alignToRight) && gridState[GRIDSTATE_dragging]) { 4306if (gridState[GRIDSTATE_overCaption]) { 4322if (gridState[GRIDSTATE_trackColResize]) { 4326if (gridState[GRIDSTATE_trackRowResize]) 4555Debug.Assert(gridState[GRIDSTATE_isEditing], "Can't abort an edit that is not happening!"); 4678if (gridState[GRIDSTATE_isEditing]) 5212if (!gridState[GRIDSTATE_isEditing] && !gridState[GRIDSTATE_isNavigating] || (gridState[GRIDSTATE_editControlChanging] && !gridState[GRIDSTATE_isScrolling])) 5221if (editColumn.ReadOnly || gridState[GRIDSTATE_inAddNewRow]) { 5227if (focusTheGrid && gridState[GRIDSTATE_canFocus]) 5232if (focusTheGrid && gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 5962if (gridState[GRIDSTATE_isEditing]) { 5987if (!gridState[GRIDSTATE_isEditing] && !gridState[GRIDSTATE_isNavigating]) 6047if (gridState[GRIDSTATE_inAddNewRow]) { 6868if (gridState[GRIDSTATE_inAddNewRow]) { 7362int newDataGridRowsLength = currentRowCount - deletedRows + (gridState[GRIDSTATE_inAddNewRow] ? 1:0); 7378if (gridState[GRIDSTATE_inAddNewRow]) { 7441localGridRows[row].PaintHeader(g, headerBounds, alignRight, gridState[GRIDSTATE_isEditing]); 8136if (!gridState[GRIDSTATE_isEditing]) 8175if (gridState[GRIDSTATE_isEditing]) 8261if (gridState[GRIDSTATE_isEditing]) { 8346if (gridState[GRIDSTATE_childLinkFocused] || (!gridState[GRIDSTATE_childLinkFocused] && (keyData & Keys.Shift) != Keys.Shift)) { 8354if (gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 8388if (!gridState[GRIDSTATE_childLinkFocused]) { 8399if (gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 8459if (!gridState[GRIDSTATE_childLinkFocused]) // bug 86803 8461} else if (gridState[GRIDSTATE_childLinkFocused] && CurrentColumn == lastColumnMarkedVisible) { 8490if (gridState[GRIDSTATE_inAddNewRow]) { 8611bool wasEditing = this.gridState[GRIDSTATE_isEditing]; 8614if (gridState[GRIDSTATE_isScrolling]) { 8926if (gridState[GRIDSTATE_isNavigating] || gridState[GRIDSTATE_isEditing]) 8938if (gridState[GRIDSTATE_isNavigating] || gridState[GRIDSTATE_isEditing])
winforms\Managed\System\WinForms\DataGridView.cs (53)
728return this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToAddRows]; 786return this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToDeleteRows]; 840return this.dataGridViewState1[DATAGRIDVIEWSTATE1_allowUserToOrderColumns]; 885return this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowUserToResizeColumns]; 930return this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowUserToResizeRows]; 1040return this.dataGridViewState1[DATAGRIDVIEWSTATE1_autoGenerateColumns]; 1043if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_autoGenerateColumns] != value) 1076return this.dataGridViewState1[DATAGRIDVIEWSTATE1_isAutoSized]; 1687return this.dataGridViewState2[DATAGRIDVIEWSTATE2_cellMouseDownInContentBounds]; 2116return this.dataGridViewState1[DATAGRIDVIEWSTATE1_columnHeadersVisible]; 2883return this.dataGridViewState2[DATAGRIDVIEWSTATE2_enableHeadersVisualStyles]; 2887if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_enableHeadersVisualStyles] != value) 3474if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingHorizontalScroll]) 3546return this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumn] || this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumns]; 3554return this.dataGridViewOper[DATAGRIDVIEWOPER_inBeginEdit]; 3562return this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments]; 3574return this.dataGridViewOper[DATAGRIDVIEWOPER_inEndEdit]; 3595return this.dataGridViewState2[DATAGRIDVIEWSTATE2_initializing]; 3603return this.dataGridViewOper[DATAGRIDVIEWOPER_inSort]; 3613return this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedCellChanged]; 3621if (value != this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedCellChanged]) 3635return this.editingControl != null || this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]; 3648return this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedRowChanged] || this.IsCurrentCellDirty; 3652QuestionEventArgs qe = new QuestionEventArgs(this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedRowChanged] || this.IsCurrentCellDirty); 3663if (value != this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedRowChanged]) 3679return this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] || 3680this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize] || 3681this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] || 3682this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize] || 3683this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation] || 3687this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited]); 3704if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestrictedChecked]) 3723return this.dataGridViewState1[DATAGRIDVIEWSTATE1_isRestricted]; 3787return this.dataGridViewState1[DATAGRIDVIEWSTATE1_multiSelect]; 3914return this.dataGridViewState1[DATAGRIDVIEWSTATE1_readOnly]; 3918if (value != this.dataGridViewState1[DATAGRIDVIEWSTATE1_readOnly]) 4013return this.dataGridViewOper[DATAGRIDVIEWOPER_resizingOperationAboutToStart]; 4021if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftValid]) 4023return this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode]; 4027return this.dataGridViewState2[DATAGRIDVIEWSTATE2_rightToLeftMode]; 4265return this.dataGridViewState1[DATAGRIDVIEWSTATE1_rowHeadersVisible]; 4749if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_initializing] && 4776return this.dataGridViewState2[DATAGRIDVIEWSTATE2_showCellErrors]; 4831return this.dataGridViewState2[DATAGRIDVIEWSTATE2_showCellToolTips]; 4885return this.dataGridViewState2[DATAGRIDVIEWSTATE2_showEditingIcon]; 4926return this.dataGridViewState2[DATAGRIDVIEWSTATE2_showRowErrors]; 5025return this.dataGridViewState1[DATAGRIDVIEWSTATE1_standardTab]; 5029if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_standardTab] != value) 5178if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 5271return this.dataGridViewState1[DATAGRIDVIEWSTATE1_virtualMode]; 5275if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_virtualMode] != value) 6963if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_initializing])
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (44)
141return this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]; 173return this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager]; 185return this.dataConnectionState[DATACONNECTIONSTATE_interestedInRowEvents]; 208return this.dataConnectionState[DATACONNECTIONSTATE_listWasReset]; 219return !this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] && 220this.dataConnectionState[DATACONNECTIONSTATE_positionChangingInCurrencyManager]; 228return this.dataConnectionState[DATACONNECTIONSTATE_processingListChangedEvent]; 236return this.dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges]; 244Debug.Assert(this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]); 245return this.dataConnectionState[DATACONNECTIONSTATE_restoreRow]; 491Debug.Assert(!this.dataConnectionState[DATACONNECTIONSTATE_inAddNew] || !this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew], 496if (this.dataConnectionState[DATACONNECTIONSTATE_cachedAllowUserToAddRowsInternal] != this.owner.AllowUserToAddRowsInternal) 514if (!this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && this.owner.newRowIndex == e.NewIndex) 519if (this.dataConnectionState[DATACONNECTIONSTATE_inAddNew]) 526if (this.dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew]) 552if (this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit]) 557else if (this.dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit] || 558this.dataConnectionState[DATACONNECTIONSTATE_inAddNew]) 573else if (this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && this.currencyManager.List.Count == 0) 592if (this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView]) 609Debug.Assert(this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]); 619if (this.dataConnectionState[DATACONNECTIONSTATE_inDeleteOperation] && 620this.dataConnectionState[DATACONNECTIONSTATE_itemAddedInDeleteOperation] && 621this.dataConnectionState[DATACONNECTIONSTATE_didNotDeleteRowFromDataGridView]) 627else if (!this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && 628this.dataConnectionState[DATACONNECTIONSTATE_inEndCurrentEdit]) 748!this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl] && 780if (this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheDataGridViewControl]) 800this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && // condition 2. 801!this.dataConnectionState[DATACONNECTIONSTATE_inAddNew] && // condition 2. 820if (this.dataConnectionState[DATACONNECTIONSTATE_rowValidatingInAddNew]) 830bool clearSelection = this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit] && !this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]; 871Debug.Assert(this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]); 911if (!this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew]) 1124if (this.dataConnectionState[DATACONNECTIONSTATE_dataConnection_inSetDataConnection]) 1137if (dsInit != null && this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]) 1165if (!this.dataConnectionState[DATACONNECTIONSTATE_dataSourceInitializedHookedUp]) 1440if (this.dataConnectionState[DATACONNECTIONSTATE_processingMetaDataChanges]) 1455!this.dataConnectionState[DATACONNECTIONSTATE_doNotChangePositionInTheCurrencyManager] && 1493if (!this.dataConnectionState[DATACONNECTIONSTATE_finishedAddNew] && !this.owner.IsCurrentRowDirty) 1495if (!this.dataConnectionState[DATACONNECTIONSTATE_cancellingRowEdit])
winforms\Managed\System\WinForms\DataGridViewMethods.cs (300)
889if (this.dataGridViewOper[DATAGRIDVIEWOPER_inAdjustFillingColumns]) 991if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_usedFillWeightsDirty]) 2608if (this.dataGridViewOper[DATAGRIDVIEWOPER_inBeginEdit]) 3121Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 3223Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 3232(this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited] && 3233!this.dataGridViewState1[DATAGRIDVIEWSTATE1_editedRowChanged])) 3235bool discardNewRow = this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited]; 3246this.dataConnection.CancelRowEdit(true /*restoreRow*/, this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowEdited]/*addNewFinished*/); 3293Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 3308this.dataGridViewState1[DATAGRIDVIEWSTATE1_newRowCreatedByEditing]) 3366if (this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose]) 3889(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode] && ((IDataGridViewEditingCell)this.CurrentCellInternal).EditingCellValueChanged) 3891this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges]); 3929Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 3962Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 3989if (this.dataGridViewOper[DATAGRIDVIEWOPER_inCellValidating]) 5137Debug.Assert(!this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments]); 5686if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_showColumnRelocationInsertion]) 5891if (this.dataGridViewOper[DATAGRIDVIEWOPER_lastEditCtrlClickDoubled]) 5959if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_nextMouseUpIsDouble]) 6028Debug.Assert(!this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]); 6034if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseEnterExpected]) 6047if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 6292Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 6806if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_raiseSelectionChanged]) 8657if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect]) 8753if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect]) 8875if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]) 9786Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] || this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]); 9798if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect]) 9806else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]) 9824if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] && hti.col >= 0) 9828else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] && hti.col >= 0 && hti.row >= 0) 10230this.dataGridViewState1[DATAGRIDVIEWSTATE1_forwardCharMessage]) 10328this.dataGridViewState2[DATAGRIDVIEWSTATE2_allowHorizontalScrollbar]; 10613!this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden] && 10645!this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns]) 10678!this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden] && 10696if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_ignoringEditingChanges] == false) 11229if (!this.dataGridViewOper[DATAGRIDVIEWOPER_inBorderStyleChange]) 11252if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11262if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11272if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11282if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11292if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11316if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11331if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11411if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11498if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11531if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11543if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11650if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_inBindingContextChanged]) 11703if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11713if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11733if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11746if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11782if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11868if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11904if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11929if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11955if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 11986if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12005if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12045if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12080if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12108if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12138if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12178if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12216if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12248if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12280if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] && e.Button == MouseButtons.Left) 12323if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12328if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] && e.Button == MouseButtons.Left) 12515if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 12600if (this.MultiSelect && this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 12680if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 12777if (this.MultiSelect && this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 12860if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 12944if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 12978if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13009if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13014if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] && 13040Debug.Assert(!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls]); 13077if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13096if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13125if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13179if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13188!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 13225if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13237if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont]) 13241if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont]) 13245if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont]) 13252if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor]) 13384if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13409if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13435if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13475if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13529if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13564if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13596if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13622if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13702if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13711if (this.DataSource != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns]) 13740if (this.DataSource != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns]) 13769if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13788if (this.DataSource != null && e.Column.DataPropertyName.Length != 0 && !this.dataGridViewOper[DATAGRIDVIEWOPER_inRefreshColumns]) 13804if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13820if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13838if (this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments]) 13895Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments]); 13900if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13908Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_inDisplayIndexAdjustments]); 13931if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 13969if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14055if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14138if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14148if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14282if (this.MultiSelect && this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 14353if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14378if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14443if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14467if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14517if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14571if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14588if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14773if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14893if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14900!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 14930if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 14992if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15007(this.dataGridViewState2[DATAGRIDVIEWSTATE2_cellMouseDownInContentBounds] && 15029if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15055if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15065if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_ignoreCursorChange]) 15080if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15093if (!this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15231!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 15291!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 15328!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 15369if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15387if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15416if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15426if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15437if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15458if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15477if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15546else if (!this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown]) 15559if (this.ptCurrentCell.X > -1 && this.CurrentCellInternal.EditType == null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown]) 15567else if (!this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown]) 15595if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] && 15604if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] && 15613if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont] && 15633if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor] && this.DefaultCellStyle.ForeColor != base.ForeColor) 15697if (!this.dataGridViewOper[DATAGRIDVIEWOPER_inCurrentCellChange] && 15698(!this.dataGridViewOper[DATAGRIDVIEWOPER_inEndEdit] || this.EditMode != DataGridViewEditMode.EditOnEnter) && 15699(!this.dataGridViewOper[DATAGRIDVIEWOPER_inMouseDown] || this.EditMode != DataGridViewEditMode.EditOnEnter) && 15715if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 15740if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_autoSizedWithoutHandle]) 16226if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackKeyboardColResize] && (e.KeyData & Keys.Alt) != Keys.Alt && AccessibilityImprovements.Level2) 16253if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlChanging]) 16273if (this.ptCurrentCell.X > -1 && !this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey]) 16284if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey]) 16317if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] && 16318!this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed && 16319!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] && 16320!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize] && 16321!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] && 16322!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize]) 16363if (!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation]) 16404if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls] && 16405!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] && 16406!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize] && 16407!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] && 16408!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize]) 16428if (!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation]) 16515if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls]) 16522if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls]) 16556if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingCtrl] && 16557!this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseOverRemovedEditingPanel] && 16558this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseEnterExpected] && 16573if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 16618if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize]) 16622else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize]) 16626else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation]) 16630else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize]) 16634else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize]) 16639if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] || 16640this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize] || 16647!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] && 16648!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation] && 16649!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] && 16650!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] && 16651!this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect])) 16653if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 16661else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize] || 16662this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] || 16669!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize] && 16670!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation] && 16671!this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] && 16672!this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] && 16673!this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect])) 16675if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 16700else if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_customCursorSet]) 16706if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] || 16707this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] || 16708this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]) 16753if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColSelect] && hti.col >= 0) 16757else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] && hti.row >= 0) 16761else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] && hti.col >= 0 && hti.row >= 0) 16787if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_messageFromEditingCtrls]) 16805if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_nextMouseUpIsDouble]) 16838if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize]) 16843if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize]) 16848if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColRelocation]) 16853if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize]) 16858if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize]) 17085if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 17099if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 17111if (this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] || this.IsDisposed) 17304if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 17818if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellSelected]) 17822if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellReadOnly]) 17860if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellSelected]) 17865if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_replacedCellReadOnly]) 18016if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18033if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18050if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18060if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18070if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18106if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18202if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18231if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18249if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18326if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18392if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18402if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18563if (this.MultiSelect && this.dataGridViewOper[DATAGRIDVIEWOPER_trackMouseMoves]) 18639if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18664if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18724if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18751if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18767if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18787if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18814if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18850if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18871if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18881if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18891if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18906if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 18930if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19090if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19207if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19214!this.dataGridViewOper[DATAGRIDVIEWOPER_inReadOnlyChange]) 19250if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19285if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19332if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19444if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19456if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19474if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19484if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19554if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19564if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19574if (eh != null && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose] && !this.IsDisposed) 19610if (!this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey]) 20094Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_trackColHeadersResize] || this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowResize]); 20099Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowHeadersResize] || 20100this.dataGridViewOper[DATAGRIDVIEWOPER_trackColResize] || 20101this.dataGridViewOper[DATAGRIDVIEWOPER_trackKeyboardColResize]); 20422setLocation || this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden], 20423setSize || this.dataGridViewState1[DATAGRIDVIEWSTATE1_editingControlHidden], 20681if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey] && this.Focused) 22351else if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_forwardCharMessage] && 22425if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_currentCellWantsInputKey]) 22470if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackKeyboardColResize] && this.resizeClipRectangle.Contains(x, this.resizeClipRectangle.Top)) 25475Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 25659Debug.Assert(this.dataGridViewState1[DATAGRIDVIEWSTATE1_currentCellInEditMode]); 25685if (this.dataGridViewOper[DATAGRIDVIEWOPER_inCurrentCellChange]) 26105if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_mouseEnterExpected]) 26480if (!this.dataGridViewState2[DATAGRIDVIEWSTATE2_stopRaisingVerticalScroll]) 26850if (this.dataGridViewOper[DATAGRIDVIEWOPER_inCurrentCellChange] && // Allow the code to be re-entrant only as a result of 26869if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell]) 26973if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_rowsCollectionClearedInSetCell]) 27040!this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey] && // don't edit if we're in the process of leaving the grid 27041!this.dataGridViewState2[DATAGRIDVIEWSTATE2_rowsCollectionClearedInSetCell] && // don't edit if the rows collection changed 27085!this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] && 27086!this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose]) 27146if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell]) 27150if (this.dataGridViewState2[DATAGRIDVIEWSTATE2_discardEditingControl]) 27161else if (oldCurrentCellX >= 0 && !this.dataGridViewOper[DATAGRIDVIEWOPER_inDispose]) 28323Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_inSort]); 29753Debug.Assert(this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] || this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]); 29766if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect]) 29774else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect]) 29792if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackRowSelect] && hti.row >= 0) 29796else if (this.dataGridViewOper[DATAGRIDVIEWOPER_trackCellSelect] && hti.col >= 0 && hti.row >= 0)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (6)
1667if (!_state[stateChildInfoValid]) { 1716get { return _state[stateChildInfoValid]; } 1736get { return _state[stateValid]; } 1738if (!_state[stateValid]) { 1767get { return _state[stateChildHasColumnSpan]; } 1772get { return _state[stateChildHasRowSpan]; }
winforms\Managed\System\WinForms\ListView.cs (50)
335return listViewState[LISTVIEWSTATE_allowColumnReorder]; 359return listViewState[LISTVIEWSTATE_autoArrange]; 425return listViewState[LISTVIEWSTATE_backgroundImageTiled]; 493return listViewState[LISTVIEWSTATE_checkBoxes]; 665if(!listViewState[LISTVIEWSTATE_comctlSupportsVisualStylesTested]) { 669return listViewState[LISTVIEWSTATE_comctlSupportsVisualStyles]; 806return this.listViewState[LISTVIEWSTATE_expectingMouseUp]; 863Debug.Assert(!this.listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || this.View == View.SmallIcon, "we need this bit only in SmallIcon view"); 864Debug.Assert(!this.listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || this.ComctlSupportsVisualStyles, "we need this bit only when loading ComCtl 6.0"); 866return this.listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon]; 890return listViewState[LISTVIEWSTATE_fullRowSelect]; 912return listViewState[LISTVIEWSTATE_gridLines]; 978if ((listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Clickable) || 979(!listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Nonclickable)) { 980listViewState[LISTVIEWSTATE_nonclickHdr] = !listViewState[LISTVIEWSTATE_nonclickHdr]; 1001return listViewState[LISTVIEWSTATE_hideSelection]; 1022return listViewState[LISTVIEWSTATE_hotTracking]; 1048return listViewState[LISTVIEWSTATE_hoverSelection]; 1067return this.listViewState1[LISTVIEWSTATE1_insertingItemsNatively]; 1092return this.listViewState[LISTVIEWSTATE_itemCollectionChangedInMouseDown]; 1128return listViewState[LISTVIEWSTATE_labelEdit]; 1150return listViewState[LISTVIEWSTATE_labelWrap]; 1196if (AutoArrange && !listViewState1[LISTVIEWSTATE1_disposingImageLists]) { 1210return listViewState[LISTVIEWSTATE_handleDestroyed]; 1253return listViewState[LISTVIEWSTATE_multiSelect]; 1275return listViewState[LISTVIEWSTATE_ownerDraw]; 1342return listViewState[LISTVIEWSTATE_scrollable]; 1396return this.listViewState[LISTVIEWSTATE_showGroups]; 1444} else if (!listViewState1[LISTVIEWSTATE1_disposingImageLists]) { 1467return listViewState[LISTVIEWSTATE_showItemToolTips]; 1590if (!listViewState1[LISTVIEWSTATE1_disposingImageLists]) { 1751return this.listViewState1[LISTVIEWSTATE1_useCompatibleStateImageBehavior]; 1863return listViewState[LISTVIEWSTATE_virtualMode]; 3979if (this.listViewState1[LISTVIEWSTATE1_selectedIndexChangedSkipped]) 4014if (listViewState[LISTVIEWSTATE_inLabelEdit]) { 5518if (nmhdr->code == NativeMethods.NM_RELEASEDCAPTURE && listViewState[LISTVIEWSTATE_columnClicked]) { 5547(this.listViewState[LISTVIEWSTATE_headerControlTracking] || this.listViewState[LISTVIEWSTATE_headerDividerDblClick])) { 5562if (this.listViewState[LISTVIEWSTATE_headerDividerDblClick]) { 5579!this.listViewState[LISTVIEWSTATE_headerControlTracking]) { 5593if (this.listViewState[LISTVIEWSTATE_headerDividerDblClick]) { 5594if (this.CompensateColumnHeaderResize(m, this.listViewState[LISTVIEWSTATE_columnResizeCancelled]) == 0) { 5628Debug.Assert(this.listViewState[LISTVIEWSTATE_headerControlTracking], "HDN_ENDTRACK and HDN_BEGINTRACK are out of sync..."); 5630if (this.listViewState1[LISTVIEWSTATE1_cancelledColumnWidthChanging]) { 5732columnResizeCancelled = this.listViewState[LISTVIEWSTATE_columnResizeCancelled]; 5981if (!listViewState[LISTVIEWSTATE_mouseUpFired]) 6281if (!ValidationCancelled && listViewState[LISTVIEWSTATE_doubleclickFired] && index != -1) { 6286if (!listViewState[LISTVIEWSTATE_mouseUpFired]) 6312if (listViewState[LISTVIEWSTATE_expectingMouseUp] && !listViewState[LISTVIEWSTATE_mouseUpFired] && MouseButtons == MouseButtons.None)
winforms\Managed\System\WinForms\MaskedTextBox.cs (63)
171if (!this.flagState[IS_NULL_MASK]) 309return this.flagState[BEEP_ON_ERROR]; 422if( this.flagState[CUTCOPYINCLUDEPROMPT] ) 424if( this.flagState[CUTCOPYINCLUDELITERALS] ) 432if( this.flagState[CUTCOPYINCLUDELITERALS] ) 500return this.flagState[HIDE_PROMPT_ON_LEAVE]; 504if( this.flagState[HIDE_PROMPT_ON_LEAVE] != value ) 510if( !this.flagState[IS_NULL_MASK]&& !this.Focused && !this.MaskFull && !this.DesignMode ) 608if( this.flagState[IS_NULL_MASK]) 627return this.flagState[INSERT_TOGGLED]; 703return this.flagState[IS_NULL_MASK]? string.Empty : this.maskedTextProvider.Mask; 712if( this.flagState[IS_NULL_MASK] == string.IsNullOrEmpty( value ) && (this.flagState[IS_NULL_MASK] || value == this.maskedTextProvider.Mask) ) 763if( this.flagState[IS_NULL_MASK] ) 849return this.flagState[IS_NULL_MASK] ? null : (MaskedTextProvider) this.maskedTextProvider.Clone(); 958if( this.flagState[IS_NULL_MASK]) 1052if (!this.flagState[IS_NULL_MASK]) 1074return this.flagState[REJECT_INPUT_ON_FIRST_FAILURE]; 1163if( this.flagState[IS_NULL_MASK]) 1178if (this.flagState[IS_NULL_MASK]) 1312if( this.flagState[IS_NULL_MASK] || this.flagState[QUERY_BASE_TEXT]) 1321if (this.flagState[IS_NULL_MASK]) 1368if( this.flagState[IS_NULL_MASK] ) 1389Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 1496string oldText = this.flagState[IS_NULL_MASK] ? null : TextOutput; 1528if( this.flagState[IS_NULL_MASK] ) 1584return this.flagState[USE_SYSTEM_PASSWORD_CHAR]; 1588if (value != this.flagState[USE_SYSTEM_PASSWORD_CHAR]) 1608if( this.flagState[IS_NULL_MASK]) 1688if (!this.flagState[IS_NULL_MASK] && RecreatingHandle) 1704Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 1862if( this.flagState[IS_NULL_MASK]) 1905Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 1983Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2020if( this.flagState[IS_NULL_MASK]&& this.maskedTextProvider.IsPassword ) 2049if( this.flagState[IS_NULL_MASK]) 2068this.flagState[INSERT_TOGGLED] = !this.flagState[INSERT_TOGGLED]; 2135if( !this.flagState[HANDLE_KEY_PRESS] ) 2182if( this.flagState[IS_NULL_MASK]) 2189if( !this.flagState[HANDLE_KEY_PRESS] ) 2259if (this.flagState[IME_COMPLETING]) 2264if( this.flagState[IME_ENDING_COMPOSITION] ) 2291Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2366bool queryBaseText = this.flagState[QUERY_BASE_TEXT]; 2383Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2513Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2545if (!this.flagState[IS_NULL_MASK]&& this.maskedTextProvider.MaskCompleted == false) 2553if( !this.flagState[IS_NULL_MASK]) // replace prompt with space. 2625Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2713if (this.flagState[IS_NULL_MASK]) 2774if( this.flagState[IS_NULL_MASK] && textOnInitializingMask == null) 2851if( this.flagState[IS_NULL_MASK] ) 2970Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 2990Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 3038Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 3070if (this.flagState[IME_ENDING_COMPOSITION]) 3073return this.flagState[IME_COMPLETING]; 3087Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 3146Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 3224if( this.flagState[IS_NULL_MASK]) 3290Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." ); 3309Debug.Assert( !this.flagState[IS_NULL_MASK], "This method must be called when a Mask is provided." );
winforms\Managed\System\WinForms\PictureBox.cs (11)
292if (errorImage == null && pictureBoxState[PICTUREBOXSTATE_useDefaultErrorImage]) 421if (WaitOnLoad && !pictureBoxState[PICTUREBOXSTATE_inInitialization] && !string.IsNullOrEmpty(imageLocation)) 493if (initialImage == null && pictureBoxState[PICTUREBOXSTATE_useDefaultInitialImage]) 642if (pictureBoxState[PICTUREBOXSTATE_asyncOperationInProgress]) 738if (pictureBoxState[PICTUREBOXSTATE_cancellationPending]) 774if (pictureBoxState[PICTUREBOXSTATE_cancellationPending]) 932return !pictureBoxState[PICTUREBOXSTATE_useDefaultInitialImage]; 938return !pictureBoxState[PICTUREBOXSTATE_useDefaultErrorImage]; 1294if (pictureBoxState[PICTUREBOXSTATE_needToLoadImageLocation]) 1401return pictureBoxState[PICTUREBOXSTATE_waitOnLoad]; 1426Debug.Assert(pictureBoxState[PICTUREBOXSTATE_inInitialization]);
winforms\Managed\System\WinForms\StatusStrip.cs (3)
210return state[stateSizingGrip]; 213if (value != state[stateSizingGrip]) { 372if (state[stateCalledSpringTableLayout]) {
winforms\Managed\System\WinForms\TabControl.cs (12)
362if (tabControlState[TABCONTROLSTATE_hotTrack]) { 487return tabControlState[TABCONTROLSTATE_hotTrack]; 593return (bool)tabControlState[TABCONTROLSTATE_insertingItem]; 615return tabControlState[TABCONTROLSTATE_multiline]; 741if (!tabControlState[TABCONTROLSTATE_fromCreateHandles] && !tabControlState[TABCONTROLSTATE_selectFirstControl]) { 756if (!tabControlState[TABCONTROLSTATE_fromCreateHandles] && !tabControlState[TABCONTROLSTATE_selectFirstControl]) { 860return tabControlState[TABCONTROLSTATE_showToolTips]; 1240if (index < 0 || (index >= tabPageCount && !tabControlState[TABCONTROLSTATE_getTabRectfromItemSize])) { 1545UpdateTabSelection(tabControlState[TABCONTROLSTATE_UISelection]); 1934if (!Focused || tabControlState[TABCONTROLSTATE_selectFirstControl]) {
winforms\Managed\System\WinForms\TextBoxBase.cs (33)
120SetStyle(ControlStyles.FixedHeight, textBoxFlags[autoSize]); 150return textBoxFlags[acceptsTab]; 153if (textBoxFlags[acceptsTab] != value) { 190return textBoxFlags[shortcutsEnabled]; 225if (textBoxFlags[readOnly]) { 259return textBoxFlags[autoSize]; 266if (textBoxFlags[autoSize] != value) { 493if (!textBoxFlags[hideSelection]) cp.Style |= NativeMethods.ES_NOHIDESEL; 494if (textBoxFlags[readOnly]) cp.Style |= NativeMethods.ES_READONLY; 506if (textBoxFlags[multiline]) { 508if (textBoxFlags[wordWrap]) cp.Style &= ~NativeMethods.ES_AUTOHSCROLL; 615return textBoxFlags[hideSelection]; 619if (textBoxFlags[hideSelection] != value) { 784if (textBoxFlags[modified] != curState) { 792return textBoxFlags[modified]; 841return textBoxFlags[multiline]; 844if (textBoxFlags[multiline] != value) { 1066return textBoxFlags[readOnly]; 1069if (textBoxFlags[readOnly] != value) { 1350return textBoxFlags[wordWrap]; 1354if (textBoxFlags[wordWrap] != value) { 1379if (textBoxFlags[autoSize] && !textBoxFlags[multiline]) { 1390if (textBoxFlags[multiline]) { 1525return Multiline && textBoxFlags[acceptsTab] && ((keyData & Keys.Control) == 0); 1559if (textBoxFlags[modified]){ 1562if (textBoxFlags[scrollToCaretOnHandleCreated]) { 1990if (textBoxFlags[autoSize] && !textBoxFlags[multiline]) 2059if (textBoxFlags[setSelectionOnHandleCreated]) { 2202if (!textBoxFlags[codeUpdateText] && !textBoxFlags[creatingHandle]) { 2220if (!textBoxFlags[multiline]) {
winforms\Managed\System\WinForms\ToolBar.cs (5)
194return toolBarState[TOOLBARSTATE_autoSize]; 496return toolBarState[TOOLBARSTATE_divider]; 572return toolBarState[TOOLBARSTATE_dropDownArrows]; 860return toolBarState[TOOLBARSTATE_showToolTips]; 959return toolBarState[TOOLBARSTATE_wrappable];
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (1)
390this.DoubleBuffered = state[stateLastDoubleBuffer];
winforms\Managed\System\WinForms\ToolStripDropDown.cs (11)
154return state[stateAllowTransparency]; 157if (value != (state[stateAllowTransparency]) && 161state[stateLayered] = state[stateAllowTransparency]; 340if (topLevel && (state[stateLayered])) { 593if (!state[stateIsRestrictedWindowChecked]) { 618return state[stateIsRestrictedWindow]; 767bool oldLayered = (state[stateLayered]); 779if (oldLayered != (state[stateLayered])) 1076if (state[stateNotWorkingAreaConstrained]) { 1793if (state[stateInSetVisibleCore]) { 2019if (state[stateLayered] && IsHandleCreated && TopLevel && OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) {
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (5)
208if (!state[stateMaxItemSizeValid]) { 223return state[stateShowImageMargin]; 226if (value != state[stateShowImageMargin]) { 241return state[stateShowCheckMargin]; 244if (value != state[stateShowCheckMargin]) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (3)
32 get { return options[optionsDottedBorder]; } 35 get { return options[optionsDottedGrip]; } 38 get { return options[optionsFillWhenSelected]; }
winforms\Managed\System\WinForms\ToolStripItem.cs (40)
380return state[stateAllowDrop]; 383if (value != state[stateAllowDrop]) { 402return state[stateAutoSize]; 405if (state[stateAutoSize] != value) { 423return state[stateAutoToolTip]; 445return state[stateVisible]; 775if (!state[stateContstructing]) { 826return state[stateDoubleClickEnabled]; 945return state[stateEnabled] && parentEnabled; 949if (state[stateEnabled] != value) { 951if (!state[stateEnabled]) { 952bool wasSelected = state[stateSelected]; 1168return state[stateVisible]; 1455return state[stateDisposed]; 1590get { return state[stateMouseDownAndUpMustBeInSameItem]; } 1959return CanSelect && state[statePressed]; 2083return state[stateRightToLeftAutoMirrorImage]; 2086if (state[stateRightToLeftAutoMirrorImage] != value) { 2097if (state[stateInvalidMirroredImage]) { 2149return CanSelect && !DesignMode && (state[stateSelected] || 2198return state[stateSupportsRightClick]; 2207return state[stateSupportsItemClick]; 2216return state[stateSupportsSpaceKey]; 2226return state[stateSupportsDisabledHotTracking]; 2474if (animate != state[stateCurrentlyAnimatingImage]) { 2904if (state[stateMouseDownAndNoDrag] || state[statePressed] || state[stateSelected]) { 2926if (state[stateMouseDownAndNoDrag]) { 2951if (state[stateMouseDownAndNoDrag] || fireMouseUp) { 2954if (e.Button == MouseButtons.Left || (e.Button == MouseButtons.Right && state[stateSupportsRightClick])) { 3418if (state[statePressed] != push) { 3433if (keyData == Keys.Enter || (state[stateSupportsSpaceKey] && keyData == Keys.Space)) { 3549Debug.Assert(state[stateSelected], "calling notify selection change changed the selection state of this item"); 3590if (!state[stateDisposing] && !IsDisposed) { 3603if (state[stateVisible] != visible) { 3621if (! state[stateContstructing]) { 3652if (state[stateUseAmbientMargin] && Margin != DefaultMargin) { 3716return !state[stateVisible]; // only serialize if someone turned off visiblilty 3928if (state[stateSelected]) {
winforms\Managed\System\WinForms\ToolStripPanel.cs (12)
233return state[stateLocked]; 439if (!state[stateInJoin]) { 528if (!state[stateBeginInit] && !state[stateInJoin]) { 529if (!state[stateLayoutSuspended]) { 572if (state[stateBeginInit]) { 580if (!state[stateBeginInit]) { 643if (!state[stateBeginInit] && !state[stateInJoin]) { 689if (state[stateRightToLeftChanged]) { 950if (!state[stateBeginInit] && !state[stateInJoin]) {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (6)
128return state[stateCachedBoundsMode]; 195return state[stateLocked]; 202return state[stateInitialized]; 249return state[stateVisible]; 323if (!state[stateDisposing]) { 364if (Initialized && !state[stateInLayout]) {
winforms\Managed\System\WinForms\ToolStripRendererSwitcher.cs (6)
76if (state[stateUseDefaultRenderer]) { 104if (!state[stateUseDefaultRenderer] ) { 124if (state[stateUseDefaultRenderer]) { 130if (state[stateAttachedRendererChanged]) { 140if (!state[stateAttachedRendererChanged]) { 146if (state[stateAttachedRendererChanged]) {
winforms\Managed\System\WinForms\TreeNode.cs (2)
318return treeNodeState[TREENODESTATE_isChecked]; 1860si.AddValue("IsChecked", treeNodeState[TREENODESTATE_isChecked]);
winforms\Managed\System\WinForms\TreeView.cs (19)
321return treeViewState[TREEVIEWSTATE_checkBoxes]; 480get { return treeViewState[TREEVIEWSTATE_fullRowSelect];} 503return treeViewState[TREEVIEWSTATE_hideSelection]; 529return treeViewState[TREEVIEWSTATE_hotTracking]; 842return treeViewState[TREEVIEWSTATE_labelEdit]; 1022return treeViewState[TREEVIEWSTATE_scrollable]; 1165return treeViewState[TREEVIEWSTATE_showLines]; 1188return treeViewState[TREEVIEWSTATE_showNodeToolTips]; 1211return treeViewState[TREEVIEWSTATE_showPlusMinus]; 1234get { return treeViewState[TREEVIEWSTATE_showRootLines];} 1257return treeViewState[TREEVIEWSTATE_sorted]; 3054if (!treeViewState[TREEVIEWSTATE_mouseUpFired]) { 3161if (treeViewState[TREEVIEWSTATE_stopResizeWindowMsgs]) 3291if (!ValidationCancelled && !treeViewState[TREEVIEWSTATE_doubleclickFired] & !treeViewState[TREEVIEWSTATE_mouseUpFired]) { 3304if (treeViewState[TREEVIEWSTATE_doubleclickFired]) { 3314if (!treeViewState[TREEVIEWSTATE_mouseUpFired]) 3370if (treeViewState[TREEVIEWSTATE_lastControlValidated]) 3383if (treeViewState[TREEVIEWSTATE_showTreeViewContextMenu]) {
winforms\Managed\System\WinForms\WebBrowser.cs (8)
104return webBrowserState[WEBBROWSERSTATE_allowNavigation]; 173return webBrowserState[WEBBROWSERSTATE_webBrowserShortcutsEnabled]; 203return webBrowserState[WEBBROWSERSTATE_canGoBack]; 236return webBrowserState[WEBBROWSERSTATE_canGoForward]; 482return webBrowserState[WEBBROWSERSTATE_isWebBrowserContextMenuEnabled]; 941return webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled]; 944if (value != webBrowserState[WEBBROWSERSTATE_scrollbarsEnabled]) { 1538if (!webBrowserState[WEBBROWSERSTATE_documentStreamJustSet]) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
660return this.axHostState[mask];