55 references to ExtendedStates
System.Windows.Forms (55)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
93SetExtendedState(ExtendedStates.IsActiveX, true);
System\Windows\Forms\Application.MarshallingControl.cs (1)
19SetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged, false);
System\Windows\Forms\Application.ParkingWindow.cs (1)
25SetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged, false);
System\Windows\Forms\Control.cs (36)
256private ExtendedStates _extendedState; 319_extendedState = ExtendedStates.InterestedInUserPreferenceChanged; 908get => GetExtendedState(ExtendedStates.BecomingActiveControl); 914SetExtendedState(ExtendedStates.BecomingActiveControl, value); 1423get => GetExtendedState(ExtendedStates.TopMDIWindowClosing); 1424set => SetExtendedState(ExtendedStates.TopMDIWindowClosing, value); 1433get => GetExtendedState(ExtendedStates.CurrentlyBeingScaled); 1434private set => SetExtendedState(ExtendedStates.CurrentlyBeingScaled, value); 2062if (GetExtendedState(ExtendedStates.UserPreferredSizeCache)) 2090if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.s_maxSize) 2333internal bool IsActiveX => GetExtendedState(ExtendedStates.IsActiveX); 5686private protected bool GetExtendedState(ExtendedStates flag) => (_extendedState & flag) != 0; 6837SetExtendedState(ExtendedStates.SetScrollPosition, true); 7281&& GetExtendedState(ExtendedStates.SetScrollPosition) 7282&& !GetExtendedState(ExtendedStates.HaveInvoked)) 7285SetExtendedState(ExtendedStates.HaveInvoked, true); 7286SetExtendedState(ExtendedStates.SetScrollPosition, false); 7351SetExtendedState(ExtendedStates.HaveInvoked, false); 8309SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 8337if (_cachedLayoutEventArgs is null || GetExtendedState(ExtendedStates.ClearLayoutArgs)) 8340if (GetExtendedState(ExtendedStates.ClearLayoutArgs)) 8342SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 8528if (!GetExtendedState(ExtendedStates.UiCues)) 8540SetExtendedState(ExtendedStates.InputKey, true); 8552SetExtendedState(ExtendedStates.InputChar, true); 8595target.SetExtendedState(ExtendedStates.InputKey, false); 8596target.SetExtendedState(ExtendedStates.InputChar, false); 8597target.SetExtendedState(ExtendedStates.UiCues, true); 8626if (target.GetExtendedState(ExtendedStates.InputKey) || target.IsInputKey(keyData)) 8635if (target.GetExtendedState(ExtendedStates.InputChar) || target.IsInputChar((char)(nint)message.WParamInternal)) 8650target.SetExtendedState(ExtendedStates.UiCues, false); 9395SetExtendedState(ExtendedStates.ClearLayoutArgs, true); 10216private protected void SetExtendedState(ExtendedStates flag, bool value) 11385if (!GetExtendedState(ExtendedStates.MaintainsOwnCaptureMode)) 12469if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel()) 12519if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel())
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
77SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
125SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
395SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
113SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
31SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\Labels\Label.cs (1)
66SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
128SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
107SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
92SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
139ExtendedStates.MaintainsOwnCaptureMode 141| ExtendedStates.UserPreferredSizeCache,
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
43SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
75SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
94SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Panels\Panel.cs (1)
29SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\SendKeys\SendKeys.SKWindow.cs (1)
16SetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged, false);