3 writes to _sizeToContent
PresentationCore (3)
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
332
_sizeToContent
= SizeToContent.WidthAndHeight;
1189
_sizeToContent
= value;
1741
_sizeToContent
= SizeToContent.Manual;
14 references to _sizeToContent
PresentationCore (14)
Core\CSharp\System\Windows\Interop\HwndSource.cs (14)
946
if (
_sizeToContent
!= SizeToContent.Manual && !_isWindowInMinimizeState )
1172
return
_sizeToContent
;
1184
if (
_sizeToContent
== value)
1259
if (
_sizeToContent
== SizeToContent.WidthAndHeight)
1293
(
_sizeToContent
== SizeToContent.Width ? double.PositiveInfinity : sizeFromHwndLogicalUnits.Width),
1294
(
_sizeToContent
== SizeToContent.Height ? double.PositiveInfinity : sizeFromHwndLogicalUnits.Height));
1311
if (
_sizeToContent
== SizeToContent.Width) sz = new Size(rootUIElement.DesiredSize.Width, sizeFromHwndLogicalUnits.Height);
1312
else if(
_sizeToContent
== SizeToContent.Height) sz = new Size(sizeFromHwndLogicalUnits.Width, rootUIElement.DesiredSize.Height);
1663
if ((!_myOwnUpdate) && (
_sizeToContent
!= SizeToContent.WidthAndHeight) && !_isWindowInMinimizeState)
1683
(
_sizeToContent
== SizeToContent.Width ? double.PositiveInfinity : relevantPt.X),
1684
(
_sizeToContent
== SizeToContent.Height ? double.PositiveInfinity : relevantPt.Y));
1711
if (
_sizeToContent
== SizeToContent.Width) sz = new Size(rootUIElement.DesiredSize.Width, relevantPt.Y);
1712
else if (
_sizeToContent
== SizeToContent.Height) sz = new Size(relevantPt.X, rootUIElement.DesiredSize.Height);
1739
if (
_sizeToContent
!= SizeToContent.Manual)