Base:
property
Site
System.ComponentModel.Component.Site
Implemented interface member:
property
Site
System.ComponentModel.IComponent.Site
4 overrides of Site
System.Windows.Forms (4)
winforms\Managed\System\WinForms\AxHost.cs (1)
1287public override ISite Site {
winforms\Managed\System\WinForms\DataGrid.cs (1)
4632public override ISite Site {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1446public override ISite Site {
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
233public override ISite Site {
8 writes to Site
System.Windows.Forms (8)
winforms\Managed\System\WinForms\AxHost.cs (1)
1301base.Site = value;
winforms\Managed\System\WinForms\Control.cs (2)
18175control.Site = new AxSourcingSite(control, clientSite, "ControlAxSourcingSite"); 18178control.Site = null;
winforms\Managed\System\WinForms\DataGrid.cs (1)
4638base.Site = value;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1455base.Site = value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
504Control.Site = new StubSite(Control, this); 508Control.Site = null;
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
237base.Site = value;
35 references to Site
System.Windows.Forms (35)
winforms\Managed\System\WinForms\AxHost.cs (6)
1213ISite site = ctl.Site; 5377string name = (ctl.Site != null) ? ctl.Site.Name : ctl.Name; 5400ISite site = ctl.Site; 5581Debug.Assert(parent.Site == null, "Parent is sited but we could not find IContainer!!!"); 5647ISite site = parent.Site;
winforms\Managed\System\WinForms\ContainerControl.cs (2)
1115ISite site = Site; 1116ISite parentSite = ParentInternal.Site;
winforms\Managed\System\WinForms\Control.cs (8)
905if (Site != null) { 906props = (AmbientProperties)Site.GetService(typeof(AmbientProperties)); 3399if (Site != null) { 3400name = Site.Name; 6601ISite site = Site; 13002if (this.Site != null) { 13003name = this.Site.Name; 14498ISite site = Site;
winforms\Managed\System\WinForms\DataGrid.cs (1)
4634return base.Site;
winforms\Managed\System\WinForms\ListView.cs (1)
5607ISite site = Site;
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
56ISite s = group.ListView.Site;
winforms\Managed\System\WinForms\ListViewItem.cs (2)
1224if (this.listView != null && (this.listView.Site == null || !this.listView.Site.DesignMode) && this.group != null) {
winforms\Managed\System\WinForms\MDIClient.cs (5)
121ISite site = (ParentInternal == null) ? null : ParentInternal.Site; 191ISite site = (ParentInternal == null) ? null : ParentInternal.Site; 238ISite site = (ParentInternal == null) ? null : ParentInternal.Site; 356if (ParentInternal != null && ParentInternal.Site != null && ParentInternal.Site.DesignMode && Handle != IntPtr.Zero) {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1448return base.Site;
winforms\Managed\System\WinForms\TabControl.cs (2)
2762ISite site = owner.Site; 2764ISite siteTab = tabPage.Site;
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
1000if (toolStripToDrag.Site != null && toolStripToDrag.Site.DesignMode && IsHandleCreated) {
winforms\Managed\System\WinForms\WebBrowserContainer.cs (3)
303ISite site = ctl.Site; 338string name = (ctl.Site != null) ? ctl.Site.Name : ctl.Name;
winforms\Managed\System\WinForms\WebBrowserHelper.cs (1)
152ISite site = ctl.Site;