18 references to DesignMode
System.Web (16)
UI\WebControls\BoundField.cs (3)
473
if (
DesignMode
) {
482
if (
DesignMode
) {
512
else if (
DesignMode
) {
UI\WebControls\ButtonField.cs (3)
284
if (dataItem == null && !
DesignMode
) {
292
if ((textFieldDesc == null) && !
DesignMode
) {
302
Debug.Assert(
DesignMode
== true);
UI\WebControls\HyperLinkField.cs (5)
330
if (dataItem == null && !
DesignMode
) {
342
if ((textFieldDesc == null) && !
DesignMode
) {
355
if ((urlFieldDescs[i] == null) && !
DesignMode
) {
367
if (
DesignMode
&& (DataTextField.Length != 0) && dataTextValue.Length == 0) {
390
if (
DesignMode
&& (DataNavigateUrlFields.Length != 0) && dataNavValue.Length == 0) {
UI\WebControls\ImageField.cs (5)
284
Debug.Assert(
DesignMode
, "Unless you're in designmode, there should be a control in the cell.");
398
if (dataItem == null && !
DesignMode
) {
405
if ((cachedDescriptor == null) && !
DesignMode
) {
415
if (!
DesignMode
) {
481
if (
DesignMode
&& (boundControl is TableCell)) {
System.Web.DynamicData (2)
DynamicData\DynamicField.cs (2)
129
if (
DesignMode
|| Control == null)
215
if (!
DesignMode
) {