35 references to DesignMode
System.Web.Mobile (35)
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (2)
130
if (!Page.
DesignMode
)
315
if (Page.
DesignMode
|| String.IsNullOrEmpty(Control.Form.Action))
UI\MobileControls\DeviceSpecific.cs (1)
65
Debug.Assert((_owner == null || MobilePage == null || MobilePage.
DesignMode
), "Owner has already been set");
UI\MobileControls\Form.cs (2)
343
if (MobilePage != null && !MobilePage.
DesignMode
)
504
if (MobilePage.
DesignMode
)
UI\MobileControls\MobileControl.cs (3)
476
bool isRuntime = page != null && !page.
DesignMode
;
922
(MobilePage == null || !MobilePage.
DesignMode
))
934
MobilePage.
DesignMode
&&
UI\MobileControls\MobilePage.cs (9)
100
if (
DesignMode
)
295
if(!
DesignMode
)
374
if (
DesignMode
)
424
if (
DesignMode
)
490
if (
DesignMode
)
619
if(
DesignMode
)
689
if (
DesignMode
)
804
if (!_isRenderingInForm && !
DesignMode
)
1017
if(!
DesignMode
&& Request.Headers["__vs_debug"] != null)
UI\MobileControls\ObjectList.cs (1)
608
&& !MobilePage.
DesignMode
)
UI\MobileControls\ObjectListField.cs (2)
191
if (_dataFieldDescriptor == null && !_owner.MobilePage.
DesignMode
)
204
else if (_owner.MobilePage.
DesignMode
)
UI\MobileControls\Style.cs (6)
310
if (_control.MobilePage.
DesignMode
)
334
if (_referredStyle == null && !_control.MobilePage.
DesignMode
)
405
if (_control.MobilePage != null && _control.MobilePage.
DesignMode
)
435
_control.MobilePage.
DesignMode
&&
715
if (_control.MobilePage != null && _control.MobilePage.
DesignMode
)
753
if (_control.MobilePage != null && _control.MobilePage.
DesignMode
)
UI\MobileControls\StyleSheet.cs (9)
156
else if (value.Control != this && MobilePage != null && !MobilePage.
DesignMode
)
234
if (Page == null || MobilePage.
DesignMode
)
510
if (MobilePage.
DesignMode
)
539
if (MobilePage == null || MobilePage.
DesignMode
)
559
if (MobilePage.
DesignMode
)
584
if (MobilePage.
DesignMode
)
609
if (MobilePage.
DesignMode
)
634
if (MobilePage.
DesignMode
)
659
if (MobilePage.
DesignMode
)