21 references to Control
System.Web.Mobile (21)
UI\MobileControls\Adapters\HtmlCommandAdapter.cs (13)
53
if (!String.IsNullOrEmpty(
Control
.ImageUrl) &&
58
else if (
Control
.Format == CommandFormat.Link &&
68
Form form =
Control
.Form;
76
writer.WriteText(
Control
.Text, true);
82
writer.WriteText(
Control
.Text, true);
85
writer.ExitStyle(Style,
Control
.BreakAfter);
91
writer.WriteAttribute("name",
Control
.UniqueID);
96
writer.WriteAttribute("src",
Control
.ResolveUrl(
Control
.ImageUrl), true);
97
writer.WriteAttribute("alt",
Control
.Text, true);
103
writer.WriteText(
Control
.Text, true);
109
writer.ExitLayout(Style,
Control
.BreakAfter);
124
String name =
Control
.UniqueID;
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (8)
44
int maxWidth = DesignerAdapterUtil.GetMaxWidthToFit(
Control
, out templateStatus);
45
String width = DesignerAdapterUtil.GetWidth(
Control
);
47
if (
Control
.ImageUrl.Length == 0)
49
if (
Control
.Format == CommandFormat.Button)
56
if (maxWidth == 0 && DesignerAdapterUtil.InMobileUserControl(
Control
))
68
String controlText =
Control
.Text;
174
((DesignerTextWriter)writer).WriteCssStyleText(Style, null,
Control
.Text, true);
197
writer.WriteAttribute("src",
Control
.ImageUrl, true);