82 references to RecreatingHandle
System.Windows.Forms (23)
System\Windows\Forms\ApplicationContext.cs (1)
142if (!form.RecreatingHandle)
System\Windows\Forms\Control.cs (5)
4621if (RecreatingHandle && _threadCallbackList is not null) 4650if (!RecreatingHandle && _threadCallbackList is not null) 7446if (!RecreatingHandle && GetState(States.OwnCtlBrush) && Properties.TryGetValue(s_backBrushProperty, out HBRUSH backBrush)) 11318if (!RecreatingHandle && !Disposing && !IsDisposed && GetState(States.TrackingMouseEvent)) 11337if (!RecreatingHandle)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
959if (!RecreatingHandle)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
718if (RecreatingHandle || GetState(States.CreatingHandle))
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2548if (!RecreatingHandle) 7048if (!RecreatingHandle && !ListViewHandleDestroyed)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1121if (!RecreatingHandle)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
553if (!RecreatingHandle)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2229if (_toolTip is not null && !RecreatingHandle)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1315if (RecreatingHandle || GetAnyDisposingInHierarchy())
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
959if (!RecreatingHandle)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1490if (!_flagState[s_isNullMask] && RecreatingHandle)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2097!RecreatingHandle)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
301if (!RecreatingHandle)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
755if (!RecreatingHandle)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1516if (!RecreatingHandle)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
432if (RecreatingHandle)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
253if (!RecreatingHandle && !_hbrushDither.IsNull)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.cs (1)
270(_control.Created || _control.RecreatingHandle) &&
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.cs (1)
349Debug.Assert(!RecreatingHandle, "Perf hit: we are recreating the docwin handle");
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
106Assert.False(control.RecreatingHandle);
System.Windows.Forms.Tests (57)
System\Windows\Forms\AxHostTests.cs (2)
99Assert.False(control.RecreatingHandle); 193Assert.False(control.RecreatingHandle);
System\Windows\Forms\ButtonBaseTests.cs (1)
101Assert.False(control.RecreatingHandle);
System\Windows\Forms\ButtonTests.cs (1)
99Assert.False(control.RecreatingHandle);
System\Windows\Forms\CheckBoxTests.cs (1)
101Assert.False(control.RecreatingHandle);
System\Windows\Forms\ComboBoxTests.cs (1)
111Assert.False(control.RecreatingHandle);
System\Windows\Forms\ContainerControlTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\ControlTests.cs (5)
82Assert.False(control.RecreatingHandle); 171Assert.False(control.RecreatingHandle); 267Assert.False(control.RecreatingHandle); 363Assert.False(control.RecreatingHandle); 459Assert.False(control.RecreatingHandle);
System\Windows\Forms\ControlTests.Properties.cs (1)
10013Assert.False(control.RecreatingHandle);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\DateTimePickerTests.cs (1)
103Assert.False(control.RecreatingHandle);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
135Assert.False(control.RecreatingHandle);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
106Assert.False(control.RecreatingHandle);
System\Windows\Forms\DomainUpDownTests.cs (1)
128_sub.RecreatingHandle.Should().BeFalse();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
98Assert.False(control.RecreatingHandle);
System\Windows\Forms\FormTests.cs (1)
137Assert.False(control.RecreatingHandle);
System\Windows\Forms\GroupBoxTests.cs (1)
86Assert.False(control.RecreatingHandle);
System\Windows\Forms\HScrollBarTests.cs (1)
97Assert.False(control.RecreatingHandle);
System\Windows\Forms\LabelTests.cs (1)
94Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListBoxTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListControlTests.cs (1)
92Assert.False(control.RecreatingHandle);
System\Windows\Forms\ListViewTests.cs (1)
120Assert.False(control.RecreatingHandle);
System\Windows\Forms\MdiClientTests.cs (1)
72Assert.False(control.RecreatingHandle);
System\Windows\Forms\MenuStripTests.cs (1)
123Assert.False(control.RecreatingHandle);
System\Windows\Forms\MonthCalendarTests.cs (1)
109Assert.False(control.RecreatingHandle);
System\Windows\Forms\PanelTests.cs (1)
98Assert.False(control.RecreatingHandle);
System\Windows\Forms\PictureBoxTests.cs (1)
93Assert.False(control.RecreatingHandle);
System\Windows\Forms\ProgressBarTests.cs (1)
83Assert.False(control.RecreatingHandle);
System\Windows\Forms\PropertyGridTests.cs (1)
136Assert.False(control.RecreatingHandle);
System\Windows\Forms\RadioButtonTests.cs (1)
99Assert.False(control.RecreatingHandle);
System\Windows\Forms\RichTextBoxTests.cs (1)
112Assert.False(control.RecreatingHandle);
System\Windows\Forms\ScrollableControlTests.cs (1)
97Assert.False(control.RecreatingHandle);
System\Windows\Forms\ScrollBarTests.cs (1)
86Assert.False(control.RecreatingHandle);
System\Windows\Forms\SplitterPanelTests.cs (1)
88Assert.False(control.RecreatingHandle);
System\Windows\Forms\SplitterTests.cs (1)
86Assert.False(control.RecreatingHandle);
System\Windows\Forms\StatusStripTests.cs (1)
122Assert.False(control.RecreatingHandle);
System\Windows\Forms\TabControlTests.cs (1)
90Assert.False(control.RecreatingHandle);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
106Assert.False(control.RecreatingHandle);
System\Windows\Forms\TabPageTests.cs (2)
103Assert.False(control.RecreatingHandle); 212Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
100Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripDropDownTests.cs (2)
131Assert.False(control.RecreatingHandle); 2315Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripPanelTests.cs (1)
100Assert.False(control.RecreatingHandle);
System\Windows\Forms\ToolStripTests.cs (2)
139Assert.False(control.RecreatingHandle); 294Assert.False(control.RecreatingHandle);
System\Windows\Forms\TreeViewTests.cs (1)
100Assert.False(control.RecreatingHandle);
System\Windows\Forms\UpDownBaseTests.cs (1)
113Assert.False(control.RecreatingHandle);
System\Windows\Forms\UserControlTests.cs (1)
104Assert.False(control.RecreatingHandle);
System\Windows\Forms\VScrollBarTests.cs (1)
96Assert.False(control.RecreatingHandle);
System\Windows\Forms\WebBrowserTests.cs (1)
82Assert.False(control.RecreatingHandle);
TextBoxTests.cs (1)
98Assert.False(control.RecreatingHandle);
TrackBarTests.cs (1)
89Assert.False(control.RecreatingHandle);