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