29 references to Child
WindowsFormsIntegration (29)
System\Windows\Integration\WindowsFormsHost.cs (24)
88
if (SWF.ImeModeConversion.IsCurrentConversionTableSupported && this.
Child
!= null && this.
Child
.IsHandleCreated)
96
if (this.
Child
.ImeMode == ImeMode.Disable)
98
SWF.ImeContext.Enable(this.
Child
.Handle);
103
if (this.
Child
.ImeMode != ImeMode.Disable)
105
SWF.ImeContext.Disable(this.
Child
.Handle);
183
if (
Child
!= null)
185
Child
.Scale(new System.Drawing.SizeF((float)(newScale.X / _currentScale.X), (float)(newScale.Y / _currentScale.Y)));
238
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
248
SD.Size preferredSize =
Child
.GetPreferredSize(constraintSize);
269
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
281
if ((
Child
.Size != targetSize) && ((finalSize != _priorConstraint) || scaled))
284
Child
.Size = targetSize;
286
Size returnSize = Convert.ToSystemWindowsSize(
Child
.Size, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
315
Control oldChild =
Child
;
329
if (
Child
!= null)
333
Child
.Margin = SWF.Padding.Empty;
334
Child
.Dock = DockStyle.None;
335
Child
.AutoSize = false;
336
Child
.Location = SD.Point.Empty;
351
if (this.
Child
!= null)
353
this.
Child
.GotFocus += new EventHandler(this.OnChildGotFocus);
549
if (
Child
!= null)
551
Child
.Dispose();
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (5)
79
SWF.Control child = windowsFormsHost.
Child
;
270
if (windowsFormsHost != null && windowsFormsHost.
Child
!= null)
273
windowsFormsHost.
Child
.Visible = ((SW.Visibility)value == SW.Visibility.Visible);
299
if (windowsFormsHost == null || windowsFormsHost.
Child
== null)
303
return windowsFormsHost.
Child
;