16 references to STATE2_USEPREFERREDSIZECACHE
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
82SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\ComboBox.cs (1)
173SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\ContainerControl.cs (1)
66SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\Control.cs (2)
2790if (GetState2(STATE2_USEPREFERREDSIZECACHE)) { 2830if(GetState2(STATE2_USEPREFERREDSIZECACHE) && proposedSize == LayoutUtils.MaxSize) {
winforms\Managed\System\WinForms\DataGridView.cs (1)
434SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
133SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
70SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\GroupBox.cs (1)
54SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\Label.cs (1)
100SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\ListBox.cs (1)
161SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\NumericUpDown.cs (1)
99SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\Panel.cs (1)
48SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\PictureBox.cs (1)
122SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
117SetState2(STATE2_USEPREFERREDSIZECACHE, true);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
213| STATE2_USEPREFERREDSIZECACHE, // this class overrides GetPreferredSizeCore, let Control automatically cache the result