77 references to Control
System.Web.Mobile (77)
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (76)
65
if(
Control
.MobilePage.ActiveForm ==
Control
.Form &&
66
Control
.Visible &&
67
(
Control
.ViewMode == ObjectListViewMode.Commands ||
68
Control
.ViewMode == ObjectListViewMode.Details))
71
if (
Control
.Items.Count > 0)
73
int itemIndex =
Control
.SelectedIndex;
75
Control
.PreShowItemCommands(itemIndex);
87
if (
Control
.ViewMode == ObjectListViewMode.List)
89
if (
Control
.HasControls())
100
if (
Control
.Selection.HasControls())
102
Control
.Selection.RenderChildren(writer);
106
RenderItemDetails(writer,
Control
.Selection);
115
if (
Control
.ViewMode == ObjectListViewMode.List)
117
Control
.CreateTemplatedItemsList(doDataBind);
121
Control
.CreateTemplatedItemDetails(doDataBind);
128
Debug.Assert (
Control
.VisibleItemCount <=
Control
.Items.Count);
130
if (
Control
.VisibleItemCount == 0)
135
Debug.Assert (
Control
.AllFields != null &&
Control
.AllFields.Count > 0,
150
int pageStart =
Control
.FirstVisibleItemIndex;
151
int pageSize =
Control
.VisibleItemCount;
152
ObjectListItemCollection items =
Control
.Items;
166
fieldIndices =
Control
.TableFieldIndices;
174
fieldIndices[0] =
Control
.LabelFieldIndex;
179
Style subCommandStyle =
Control
.CommandStyle;
180
Style labelStyle =
Control
.LabelStyle;
190
writer.WriteText(
Control
.AllFields[fieldIndices[field]].Title, true);
239
String moreText =
Control
.MoreText.Length == 0 ?
241
Control
.MoreText;
262
int startIndex =
Control
.FirstVisibleItemIndex;
263
int pageSize =
Control
.VisibleItemCount;
264
ObjectListItemCollection items =
Control
.Items;
265
IObjectListFieldCollection allFields =
Control
.AllFields;
269
int labelFieldIndex =
Control
.LabelFieldIndex;
273
Style labelStyle =
Control
.LabelStyle;
275
writer.WriteText(
Control
.AllFields[labelFieldIndex].Title, true);
292
Style subCommandStyle =
Control
.CommandStyle;
323
String moreText =
Control
.MoreText.Length == 0 ?
325
Control
.MoreText;
344
writer.ExitStyle(style,
Control
.BreakAfter);
350
if (
Control
.AllFields.Count == 0)
367
Style labelStyle =
Control
.LabelStyle;
368
Style subCommandStyle =
Control
.CommandStyle;
374
writer.WriteText(item[
Control
.LabelFieldIndex], true);
380
IObjectListFieldCollection fields =
Control
.AllFields;
416
ObjectListCommandCollection commands =
Control
.Commands;
423
String backCommandText =
Control
.BackCommandText.Length == 0 ?
425
Control
.BackCommandText;
442
Style labelStyle =
Control
.LabelStyle;
443
Style subCommandStyle =
Control
.CommandStyle;
446
writer.WriteText(item[
Control
.LabelFieldIndex], true);
449
IObjectListFieldCollection fields =
Control
.AllFields;
484
ObjectListCommandCollection commands =
Control
.Commands;
490
String backCommandText =
Control
.BackCommandText.Length == 0 ?
492
Control
.BackCommandText;
499
writer.ExitStyle(subCommandStyle,
Control
.BreakAfter);
533
switch (
Control
.ViewMode)
544
if (
Control
.SelectListItem(itemIndex, true))
546
if (
Control
.SelectedIndex > -1)
550
Control
.ViewMode = ObjectListViewMode.Details;
565
if (
Control
.SelectListItem(itemIndex, false))
567
Control
.RaiseDefaultItemEvent(itemIndex);
577
Control
.ViewMode = ObjectListViewMode.List;
606
int[] tableFieldIndices =
Control
.TableFieldIndices;
614
visibleFieldsInListView =
Control
.AllFields[
Control
.LabelFieldIndex].Visible ?
623
foreach (ObjectListField field in
Control
.AllFields)
643
return
Control
.Commands.Count > 0;
649
return
Control
.DefaultCommand.Length > 0;
658
String defaultCommand =
Control
.DefaultCommand;
661
int commandCount =
Control
.Commands.Count;
664
String.Compare(defaultCommand,
Control
.Commands[0].Name, StringComparison.OrdinalIgnoreCase) == 0))
692
int[] tableFieldIndices =
Control
.TableFieldIndices;
696
if (
Control
.AllFields[tableFieldIndices[i]].Visible)
UI\MobileControls\Design\Adapters\DesignerObjectListAdapter.cs (1)
33
((DesignerTextWriter)writer).WriteDesignerStyleAttributes(
Control
, Style);