16 references to UserPreferredSizeCache
System.Windows.Forms (16)
System\Windows\Forms\Control.cs (2)
2063if (GetExtendedState(ExtendedStates.UserPreferredSizeCache)) 2091if (GetExtendedState(ExtendedStates.UserPreferredSizeCache) && proposedSize == LayoutUtils.s_maxSize)
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 (1)
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);