7 references to xGetPreferredSizeCache
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (2)
2054
return CommonProperties.
xGetPreferredSizeCache
(this);
2065
Size cachedSize = CommonProperties.
xGetPreferredSizeCache
(this);
System\Windows\Forms\Layout\CommonProperties.cs (4)
348
Debug.Assert(
xGetPreferredSizeCache
(element) == Size.Empty, "Error detected in xClearPreferredSizeCache.");
386
/// Sets a control's preferred size. See <see cref="
xGetPreferredSizeCache
(IArrangedElement)"/>.
391
value == Size.Empty || value !=
xGetPreferredSizeCache
(element),
394
Debug.Assert(
xGetPreferredSizeCache
(element) == value, "Error detected in xGetPreferredSizeCache.");
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (1)
376
Size cachedSize = CommonProperties.
xGetPreferredSizeCache
(Container);