27 references to Child
WindowsFormsIntegration (27)
System\Windows\Integration\WindowsFormsHost.cs (22)
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
Child
?.Scale(new System.Drawing.SizeF((float)(newScale.X / _currentScale.X), (float)(newScale.Y / _currentScale.Y)));
235
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
245
SD.Size preferredSize =
Child
.GetPreferredSize(constraintSize);
266
if (this.Visibility == Visibility.Collapsed ||
Child
== null)
278
if ((
Child
.Size != targetSize) && ((finalSize != _priorConstraint) || scaled))
281
Child
.Size = targetSize;
283
Size returnSize = Convert.ToSystemWindowsSize(
Child
.Size, _currentScale, dpi.DpiScaleX, dpi.DpiScaleY);
312
Control oldChild =
Child
;
326
if (
Child
!= null)
330
Child
.Margin = SWF.Padding.Empty;
331
Child
.Dock = DockStyle.None;
332
Child
.AutoSize = false;
333
Child
.Location = SD.Point.Empty;
348
if (this.
Child
!= null)
350
this.
Child
.GotFocus += new EventHandler(this.OnChildGotFocus);
537
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
;