29 references to Child
WindowsFormsIntegration (29)
System\Windows\Integration\WindowsFormsHost.cs (24)
90
if (SWF.ImeModeConversion.IsCurrentConversionTableSupported && this.
Child
!= null && this.
Child
.IsHandleCreated)
98
if (this.
Child
.ImeMode == ImeMode.Disable)
100
SWF.ImeContext.Enable(this.
Child
.Handle);
105
if (this.
Child
.ImeMode != ImeMode.Disable)
107
SWF.ImeContext.Disable(this.
Child
.Handle);
185
if (
Child
!= null)
187
Child
.Scale(new System.Drawing.SizeF((float)(newScale.X / _currentScale.X), (float)(newScale.Y / _currentScale.Y)));
240
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
250
SD.Size preferredSize =
Child
.GetPreferredSize(constraintSize);
271
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
283
if ((
Child
.Size != targetSize) && ((finalSize != _priorConstraint) || scaled))
286
Child
.Size = targetSize;
288
Size returnSize = Convert.ToSystemWindowsSize(
Child
.Size, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
319
Control oldChild =
Child
;
333
if (
Child
!= null)
337
Child
.Margin = SWF.Padding.Empty;
338
Child
.Dock = DockStyle.None;
339
Child
.AutoSize = false;
340
Child
.Location = SD.Point.Empty;
356
if (this.
Child
!= null)
358
this.
Child
.GotFocus += new EventHandler(this.OnChildGotFocus);
554
if (
Child
!= null)
556
Child
.Dispose();
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (5)
80
SWF.Control child = windowsFormsHost.
Child
;
271
if (windowsFormsHost != null && windowsFormsHost.
Child
!= null)
274
windowsFormsHost.
Child
.Visible = ((SW.Visibility)value == SW.Visibility.Visible);
300
if (windowsFormsHost == null || windowsFormsHost.
Child
== null)
304
return windowsFormsHost.
Child
;