3 writes to _sizeToContent
PresentationCore (3)
System\Windows\InterOp\HwndSource.cs (3)
288_sizeToContent = SizeToContent.WidthAndHeight; 1006_sizeToContent = value; 1511_sizeToContent = SizeToContent.Manual;
14 references to _sizeToContent
PresentationCore (14)
System\Windows\InterOp\HwndSource.cs (14)
814if (_sizeToContent != SizeToContent.Manual && !_isWindowInMinimizeState ) 989return _sizeToContent; 1001if (_sizeToContent == value) 1063if (_sizeToContent == SizeToContent.WidthAndHeight) 1097(_sizeToContent == SizeToContent.Width ? double.PositiveInfinity : sizeFromHwndLogicalUnits.Width), 1098(_sizeToContent == SizeToContent.Height ? double.PositiveInfinity : sizeFromHwndLogicalUnits.Height)); 1115if (_sizeToContent == SizeToContent.Width) sz = new Size(rootUIElement.DesiredSize.Width, sizeFromHwndLogicalUnits.Height); 1116else if(_sizeToContent == SizeToContent.Height) sz = new Size(sizeFromHwndLogicalUnits.Width, rootUIElement.DesiredSize.Height); 1439if ((!_myOwnUpdate) && (_sizeToContent != SizeToContent.WidthAndHeight) && !_isWindowInMinimizeState) 1459(_sizeToContent == SizeToContent.Width ? double.PositiveInfinity : relevantPt.X), 1460(_sizeToContent == SizeToContent.Height ? double.PositiveInfinity : relevantPt.Y)); 1486if (_sizeToContent == SizeToContent.Width) sz = new Size(rootUIElement.DesiredSize.Width, relevantPt.Y); 1487else if (_sizeToContent == SizeToContent.Height) sz = new Size(relevantPt.X, rootUIElement.DesiredSize.Height); 1509if (_sizeToContent != SizeToContent.Manual)