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