27 references to Child
WindowsFormsIntegration (27)
System\Windows\Integration\WindowsFormsHost.cs (22)
87
if (SWF.ImeModeConversion.IsCurrentConversionTableSupported && this.
Child
!= null && this.
Child
.IsHandleCreated)
95
if (this.
Child
.ImeMode == ImeMode.Disable)
97
SWF.ImeContext.Enable(this.
Child
.Handle);
102
if (this.
Child
.ImeMode != ImeMode.Disable)
104
SWF.ImeContext.Disable(this.
Child
.Handle);
182
Child
?.Scale(new System.Drawing.SizeF((float)(newScale.X / _currentScale.X), (float)(newScale.Y / _currentScale.Y)));
234
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
244
SD.Size preferredSize =
Child
.GetPreferredSize(constraintSize);
265
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
277
if ((
Child
.Size != targetSize) && ((finalSize != _priorConstraint) || scaled))
280
Child
.Size = targetSize;
282
Size returnSize = Convert.ToSystemWindowsSize(
Child
.Size, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
311
Control oldChild =
Child
;
325
if (
Child
!= null)
329
Child
.Margin = SWF.Padding.Empty;
330
Child
.Dock = DockStyle.None;
331
Child
.AutoSize = false;
332
Child
.Location = SD.Point.Empty;
347
if (this.
Child
!= null)
349
this.
Child
.GotFocus += new EventHandler(this.OnChildGotFocus);
536
Child
?.Dispose();
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (5)
78
SWF.Control child = windowsFormsHost.
Child
;
269
if (windowsFormsHost != null && windowsFormsHost.
Child
!= null)
272
windowsFormsHost.
Child
.Visible = ((SW.Visibility)value == SW.Visibility.Visible);
298
if (windowsFormsHost == null || windowsFormsHost.
Child
== null)
302
return windowsFormsHost.
Child
;