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