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; 1191get => GetExtendedState(ExtendedStates.BecomingActiveControl); 1197SetExtendedState(ExtendedStates.BecomingActiveControl, value); 1699get => GetExtendedState(ExtendedStates.TopMDIWindowClosing); 1700set => SetExtendedState(ExtendedStates.TopMDIWindowClosing, value); 1709get => GetExtendedState(ExtendedStates.CurrentlyBeingScaled); 1710private set => SetExtendedState(ExtendedStates.CurrentlyBeingScaled, value); 2338if (GetExtendedState(ExtendedStates.UserPreferredSizeCache)) 2366if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.s_maxSize) 2609internal bool IsActiveX => GetExtendedState(ExtendedStates.IsActiveX); 6045private protected bool GetExtendedState(ExtendedStates flag) => (_extendedState & flag) != 0; 7348SetExtendedState(ExtendedStates.SetScrollPosition, true); 8055&& GetExtendedState(ExtendedStates.SetScrollPosition) 8056&& !GetExtendedState(ExtendedStates.HaveInvoked)) 8059SetExtendedState(ExtendedStates.HaveInvoked, true); 8060SetExtendedState(ExtendedStates.SetScrollPosition, false); 8143SetExtendedState(ExtendedStates.HaveInvoked, false); 9212SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 9240if (_cachedLayoutEventArgs is null || GetExtendedState(ExtendedStates.ClearLayoutArgs)) 9243if (GetExtendedState(ExtendedStates.ClearLayoutArgs)) 9245SetExtendedState(ExtendedStates.ClearLayoutArgs, false); 9431if (!GetExtendedState(ExtendedStates.UiCues)) 9443SetExtendedState(ExtendedStates.InputKey, true); 9455SetExtendedState(ExtendedStates.InputChar, true); 9498target.SetExtendedState(ExtendedStates.InputKey, false); 9499target.SetExtendedState(ExtendedStates.InputChar, false); 9500target.SetExtendedState(ExtendedStates.UiCues, true); 9529if (target.GetExtendedState(ExtendedStates.InputKey) || target.IsInputKey(keyData)) 9538if (target.GetExtendedState(ExtendedStates.InputChar) || target.IsInputChar((char)(nint)message.WParamInternal)) 9553target.SetExtendedState(ExtendedStates.UiCues, false); 10318SetExtendedState(ExtendedStates.ClearLayoutArgs, true); 11134private protected void SetExtendedState(ExtendedStates flag, bool value) 12322if (!GetExtendedState(ExtendedStates.MaintainsOwnCaptureMode)) 13406if (GetExtendedState(ExtendedStates.InterestedInUserPreferenceChanged) && GetTopLevel()) 13458if (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)
396SetExtendedState(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)
107SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
105SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
143ExtendedStates.MaintainsOwnCaptureMode 145| ExtendedStates.UserPreferredSizeCache,
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
43SetExtendedState(ExtendedStates.UserPreferredSizeCache, true);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
72SetExtendedState(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);