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)
270private ExtendedStates _extendedState; 336_extendedState = ExtendedStates.InterestedInUserPreferenceChanged; 1182get => GetExtendedState(ExtendedStates.BecomingActiveControl); 1188SetExtendedState(ExtendedStates.BecomingActiveControl, value); 1690get => GetExtendedState(ExtendedStates.TopMDIWindowClosing); 1691set => SetExtendedState(ExtendedStates.TopMDIWindowClosing, value); 1700get => GetExtendedState(ExtendedStates.CurrentlyBeingScaled); 1701private set => SetExtendedState(ExtendedStates.CurrentlyBeingScaled, value); 2329if (GetExtendedState(ExtendedStates.UserPreferredSizeCache)) 2357if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.s_maxSize) 2600internal bool IsActiveX => GetExtendedState(ExtendedStates.IsActiveX); 6033private protected bool GetExtendedState(ExtendedStates flag) => (_extendedState & flag) != 0; 7336SetExtendedState(ExtendedStates.SetScrollPosition, true); 7994&& GetExtendedState(ExtendedStates.SetScrollPosition) 7995&& !GetExtendedState(ExtendedStates.HaveInvoked)) 7998SetExtendedState(ExtendedStates.HaveInvoked, true); 7999SetExtendedState(ExtendedStates.SetScrollPosition, false); 8082SetExtendedState(ExtendedStates.HaveInvoked, false); 9151SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 9179if (_cachedLayoutEventArgs is null || GetExtendedState(ExtendedStates.ClearLayoutArgs)) 9182if (GetExtendedState(ExtendedStates.ClearLayoutArgs)) 9184SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 9370if (!GetExtendedState(ExtendedStates.UiCues)) 9382SetExtendedState(ExtendedStates.InputKey, true); 9394SetExtendedState(ExtendedStates.InputChar, true); 9437target.SetExtendedState(ExtendedStates.InputKey, false); 9438target.SetExtendedState(ExtendedStates.InputChar, false); 9439target.SetExtendedState(ExtendedStates.UiCues, true); 9468if (target.GetExtendedState(ExtendedStates.InputKey) || target.IsInputKey(keyData)) 9477if (target.GetExtendedState(ExtendedStates.InputChar) || target.IsInputChar((char)(nint)message.WParamInternal)) 9492target.SetExtendedState(ExtendedStates.UiCues, false); 10257SetExtendedState(ExtendedStates.ClearLayoutArgs, true); 11067private protected void SetExtendedState(ExtendedStates flag, bool value) 12250if (!GetExtendedState(ExtendedStates.MaintainsOwnCaptureMode)) 13334if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel()) 13386if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel())
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
79SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
130SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
391SetExtendedState(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)
124SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
106SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
103SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
138ExtendedStates.MaintainsOwnCaptureMode 140| ExtendedStates.UserPreferredSizeCache,
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
43SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
71SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
93SetExtendedState(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);