16 references to UserPreferredSizeCache
System.Windows.Forms (16)
System\Windows\Forms\Control.cs (2)
2063
if (GetExtendedState(ExtendedStates.
UserPreferredSizeCache
))
2091
if (GetExtendedState(ExtendedStates.
UserPreferredSizeCache
) && proposedSize == LayoutUtils.s_maxSize)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
77
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
125
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
395
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
113
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
31
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\Labels\Label.cs (1)
66
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
128
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
107
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
92
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
141
| ExtendedStates.
UserPreferredSizeCache
,
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
43
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
75
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
94
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);
System\Windows\Forms\Panels\Panel.cs (1)
29
SetExtendedState(ExtendedStates.
UserPreferredSizeCache
, true);