Base:
property
Site
System.Windows.Forms.Control.Site
7 references to Site
System.Windows.Forms (7)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (3)
788internal bool IsUserMode => Site is null || !DesignMode; 792if (Site.TryGetService(out IComponentChangeService? changeService)) 1134if (Site.TryGetService(out IDesignerHost? host) && host.RootComponent is ContainerControl rootContainerControl)
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (3)
200ISite? site = _parent.Site; 224Debug.Assert(_parent.Site is null, "Parent is sited but we could not find IContainer!!!"); 270if (ctl.Site is not ISite site || site.Container is not IContainer container)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
357if (Host.Site.TryGetService(out IComponentChangeService? changeService))