32 references to Host
PresentationFramework (32)
MS\Internal\Controls\ActiveXSite.cs (28)
161
container = this.
Host
.Container;
169
if (NativeMethods.Succeeded(this.
Host
.ActiveXInPlaceObject.GetWindow(out hwnd)))
171
if (this.
Host
.ControlHandle.Handle != hwnd)
175
this.
Host
.AttachWindow(hwnd);
176
this.OnActiveXRectChange(this.
Host
.Bounds);
180
else if (this.
Host
.ActiveXInPlaceObject is UnsafeNativeMethods.IOleInPlaceObjectWindowless)
209
return this.
Host
.ParentHandle.Handle;
241
this.
Host
.Container.OnUIActivate(this.
Host
);
249
ppFrame = this.
Host
.Container;
251
lprcPosRect.left = (int)this.
Host
.Bounds.left;
252
lprcPosRect.top = (int)this.
Host
.Bounds.top;
253
lprcPosRect.right = (int)this.
Host
.Bounds.right;
254
lprcPosRect.bottom = (int)this.
Host
.Bounds.bottom;
256
lprcClipRect = this.
Host
.Bounds;
263
lpFrameInfo.hwndFrame = this.
Host
.ParentHandle.Handle;
276
this.
Host
.Container.OnUIDeactivate(this.
Host
);
291
this.
Host
.Container.OnInPlaceDeactivate(this.
Host
);
303
return this.
Host
.ActiveXInPlaceObject.UIDeactivate();
318
return this.
Host
.ActiveXState;
322
this.
Host
.ActiveXState = value;
330
return this.
Host
.Bounds;
435
Object nativeObject = this.
Host
.ActiveXInstance;
463
if (this.
Host
.ActiveXInPlaceObject != null)
465
this.
Host
.ActiveXInPlaceObject.SetObjectRects(
469
this.
Host
.Bounds = lprcPosRect;
MS\Internal\Controls\WebBrowserSite.cs (4)
72
WebBrowser wb = (WebBrowser)
Host
;
152
WebBrowser wb = (WebBrowser)
Host
;
214
Host
.Dispatcher.Invoke(
223
Host
.MoveFocus(new TraversalRequest((FocusNavigationDirection)direction));