83 references to DesignerAdapterUtil
System.Web.Mobile (83)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
107
if (
DesignerAdapterUtil
.GetContainmentStatus(control) == ContainmentStatus.AtTopLevel)
320
int nestingLevel =
DesignerAdapterUtil
.NestingLevel(control, out inTemplate, out defaultControlWidthInTemplate);
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (3)
34
String width =
DesignerAdapterUtil
.GetWidth(Control);
37
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
39
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerCalendarAdapter.cs (1)
34
String width =
DesignerAdapterUtil
.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (8)
44
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
45
String width =
DesignerAdapterUtil
.GetWidth(Control);
51
if (maxWidth == 0 && templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_NONEDIT)
53
maxWidth =
DesignerAdapterUtil
.CONTROL_MAX_WIDTH_IN_TEMPLATE;
56
if (maxWidth == 0 &&
DesignerAdapterUtil
.InMobileUserControl(Control))
89
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
154
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
182
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (3)
37
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
38
String width =
DesignerAdapterUtil
.GetWidth(Control);
40
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (3)
41
String width =
DesignerAdapterUtil
.GetWidth(Control);
45
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
46
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (3)
38
String width =
DesignerAdapterUtil
.GetWidth(Control);
43
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
44
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (5)
49
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
53
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_NONEDIT)
55
maxWidth =
DesignerAdapterUtil
.CONTROL_MAX_WIDTH_IN_TEMPLATE;
57
else if (
DesignerAdapterUtil
.InMobileUserControl(Control))
142
String width =
DesignerAdapterUtil
.GetWidth(Control);
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (3)
43
String width =
DesignerAdapterUtil
.GetWidth(Control);
50
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
51
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (3)
68
String width =
DesignerAdapterUtil
.GetWidth(control);
71
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(control, out templateStatus);
72
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (3)
38
String width =
DesignerAdapterUtil
.GetWidth(Control);
46
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
47
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (3)
36
String width =
DesignerAdapterUtil
.GetWidth(Control);
44
int maxWidth =
DesignerAdapterUtil
.GetMaxWidthToFit(Control, out templateStatus);
46
if (templateStatus ==
DesignerAdapterUtil
.CONTROL_IN_TEMPLATE_EDIT)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
1028
Adapters.
DesignerAdapterUtil
.ControlDesigner(designer.UnderlyingControl)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (3)
226
if (!
DesignerAdapterUtil
.InMobileUserControl(_ds))
228
if (
DesignerAdapterUtil
.InUserControl(_ds))
234
if (!
DesignerAdapterUtil
.InMobilePage(_ds))
UI\MobileControls\Design\FormDesigner.cs (3)
98
if (!
DesignerAdapterUtil
.InMobileUserControl(_form))
100
if (
DesignerAdapterUtil
.InUserControl(_form))
106
if (!
DesignerAdapterUtil
.InMobilePage(_form))
UI\MobileControls\Design\ListDesigner.cs (4)
622
DesignerAdapterUtil
.AddAttributesToPropertiesOfDifferentType(
629
DesignerAdapterUtil
.AddAttributesToProperty(
635
DesignerAdapterUtil
.AddAttributesToProperty(
641
DesignerAdapterUtil
.AddAttributesToProperty(
UI\MobileControls\Design\MobileContainerDesigner.cs (2)
76
DesignerAdapterUtil
.GetContainmentStatus(_mobileControl);
141
if (!
DesignerAdapterUtil
.InMobilePage(_mobileControl))
UI\MobileControls\Design\MobileControlDesigner.cs (6)
118
DesignerAdapterUtil
.GetContainmentStatus(_mobileControl);
230
if (!
DesignerAdapterUtil
.InMobileUserControl(_mobileControl))
232
if (
DesignerAdapterUtil
.InUserControl(_mobileControl))
238
if (!
DesignerAdapterUtil
.InMobilePage(_mobileControl))
335
return
DesignerAdapterUtil
.GetDesignTimeErrorHtml(
454
DesignerAdapterUtil
.SetStandardStyleAttributes(Behavior, ContainmentStatus);
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (6)
137
DesignerAdapterUtil
.GetContainmentStatus(_control);
547
return
DesignerAdapterUtil
.GetDesignTimeErrorHtml(
567
if (!
DesignerAdapterUtil
.InMobileUserControl(_control))
569
if (
DesignerAdapterUtil
.InUserControl(_control))
575
if (!
DesignerAdapterUtil
.InMobilePage(_control))
846
DesignerAdapterUtil
.SetStandardStyleAttributes(Behavior, ContainmentStatus);
UI\MobileControls\Design\ObjectListDesigner.cs (2)
224
DesignerAdapterUtil
.AddAttributesToPropertiesOfDifferentType(
231
DesignerAdapterUtil
.AddAttributesToProperty(
UI\MobileControls\Design\PanelDesigner.cs (3)
74
if (
DesignerAdapterUtil
.InMobileUserControl(_panel))
79
if (
DesignerAdapterUtil
.InUserControl(_panel))
85
if (!
DesignerAdapterUtil
.InMobilePage(_panel))
UI\MobileControls\Design\SelectionListDesigner.cs (4)
510
DesignerAdapterUtil
.AddAttributesToPropertiesOfDifferentType(
517
DesignerAdapterUtil
.AddAttributesToProperty(
523
DesignerAdapterUtil
.AddAttributesToProperty(
529
DesignerAdapterUtil
.AddAttributesToProperty(
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
37
(StyleSheetDesigner)
DesignerAdapterUtil
.ControlDesigner(styleSheet);
UI\MobileControls\Design\StyleSheetDesigner.cs (5)
112
IComponent component =
DesignerAdapterUtil
.GetRootComponent(Component);
125
IComponent component =
DesignerAdapterUtil
.GetRootComponent(Component);
1247
if (!
DesignerAdapterUtil
.InMobileUserControl(_styleSheet))
1249
if (
DesignerAdapterUtil
.InUserControl(_styleSheet))
1255
if (!
DesignerAdapterUtil
.InMobilePage(_styleSheet))
UI\MobileControls\Design\TextViewDesigner.cs (3)
124
if (
DesignerAdapterUtil
.InMobileUserControl(_textView))
129
if (
DesignerAdapterUtil
.InUserControl(_textView))
135
if (!
DesignerAdapterUtil
.InMobilePage(_textView))