7 implementations of DesignMode
System (2)
compmod\system\componentmodel\Container.cs (1)
292
public bool
DesignMode
{
compmod\system\componentmodel\NestedContainer.cs (1)
145
public bool
DesignMode
{
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Control.cs (1)
18900
public bool
DesignMode
{
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1141
bool ISite.
DesignMode
{
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
1279
bool System.ComponentModel.ISite.
DesignMode
1594
public bool
DesignMode
{ get { return true; } }
Shared\XomlSerializationHelpers.cs (1)
472
public bool
DesignMode
{ get { return true; } }
33 references to DesignMode
System (9)
compmod\system\componentmodel\Component.cs (1)
239
return(s == null) ? false : s.
DesignMode
;
compmod\system\componentmodel\ComponentResourceManager.cs (1)
114
if (site != null && site.
DesignMode
) {
compmod\system\componentmodel\MarshalByValueComponent.cs (1)
184
return(s == null) ? false : s.
DesignMode
;
compmod\system\componentmodel\NestedContainer.cs (1)
149
return owner.Site.
DesignMode
;
compmod\system\componentmodel\ReflectEventDescriptor.cs (2)
197
if (site != null && site.
DesignMode
) {
460
if (site != null && site.
DesignMode
) {
compmod\system\componentmodel\TypeDescriptor.cs (1)
1338
if (site != null && site.
DesignMode
)
services\io\system\io\FileSystemWatcher.cs (1)
336
if (Site != null && Site.
DesignMode
)
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
190
((Component)this.weakParentProcess.Target).Site.
DesignMode
)) {
System.Web (3)
UI\Control.cs (1)
455
if(Site.
DesignMode
) {
UI\Page.cs (1)
6298
_designMode = (Site != null) ? Site.
DesignMode
: false;
UI\UserControl.cs (1)
262
designTime = Page.Site.
DesignMode
;
System.Web.DataVisualization (1)
Common\DataManager\DataSeries.cs (1)
1489
if(controlSite != null && controlSite.
DesignMode
)
System.Web.Mobile (1)
UI\MobileControls\MobileControl.cs (1)
109
if (Site == null || !Site.
DesignMode
)
System.Windows.Forms (18)
winforms\Managed\System\WinForms\AxHost.cs (2)
2393
return site == null || !site.
DesignMode
;
5648
if (site != null && site.
DesignMode
) return site.Container;
winforms\Managed\System\WinForms\Binding.cs (1)
592
return site.
DesignMode
;
winforms\Managed\System\WinForms\ContainerControl.cs (2)
1118
if (site != null) dt = site.
DesignMode
;
1119
if (parentSite != null) parentDt = parentSite.
DesignMode
;
winforms\Managed\System\WinForms\Control.cs (2)
6602
if (site != null && site.
DesignMode
) {
14505
if (site != null && site.
DesignMode
) {
winforms\Managed\System\WinForms\DataGrid.cs (2)
3747
if (this.Site == null || !this.Site.
DesignMode
)
4440
if (this.Site == null || !this.Site.
DesignMode
)
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
57
return(s == null) ? false : s.
DesignMode
;
winforms\Managed\System\WinForms\ListViewItem.cs (1)
1224
if (this.listView != null && (this.listView.Site == null || !this.listView.Site.
DesignMode
) && this.group != null) {
winforms\Managed\System\WinForms\MDIClient.cs (4)
122
if (site != null && site.
DesignMode
) {
192
if (site != null && site.
DesignMode
&& Handle != IntPtr.Zero) {
239
if (IsHandleCreated && (site == null || !site.
DesignMode
)) {
356
if (ParentInternal != null && ParentInternal.Site != null && ParentInternal.Site.
DesignMode
&& Handle != IntPtr.Zero) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1143
return owner.Site.
DesignMode
;
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1000
if (toolStripToDrag.Site != null && toolStripToDrag.Site.
DesignMode
&& IsHandleCreated) {
winforms\Managed\System\WinForms\WebBrowserContainer.cs (1)
206
if (site != null && site.
DesignMode
) return site.Container;
System.Windows.Forms.DataVisualization (1)
Common\DataManager\DataSeries.cs (1)
1489
if(controlSite != null && controlSite.
DesignMode
)