72 references to Control
System.Web.Mobile (72)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (72)
49int[] tableFieldIndices = Control.TableFieldIndices; 52if (Control.AllFields[tableFieldIndices[i]].Visible) { 63if (SecondaryUIMode == _modeDetails && Control.Items.Count > 0) { 64Control.PreShowItemCommands (Control.SelectedIndex); 70if (Control.ViewMode == ObjectListViewMode.List) { 71Control.CreateTemplatedItemsList(doDataBind); 74Control.CreateTemplatedItemDetails(doDataBind); 79fieldIndices = Control.TableFieldIndices; 84fieldIndices[0] = Control.LabelFieldIndex; 91switch (Control.ViewMode) { 97if (Control.SelectListItem(itemIndex, true)) { 98if (Control.SelectedIndex > -1) { 101Control.ViewMode = ObjectListViewMode.Details; 115if (Control.SelectListItem(itemIndex, false)) { 116Control.RaiseDefaultItemEvent(itemIndex); 125Control.ViewMode = ObjectListViewMode.List; 136return Control.Commands.Count > 0; 141String controlDefaultCommand = Control.DefaultCommand; 151int[] tableFieldIndices = Control.TableFieldIndices; 156visibleFieldsInListView = Control.AllFields[Control.LabelFieldIndex].Visible ? 162foreach (ObjectListField field in Control.AllFields) { 179return Control.Commands.Count == 1 && 180(String.Compare (Control.DefaultCommand, Control.Commands[0].Name, true /* ignore case */, CultureInfo.CurrentCulture) == 0); 197if (Control.ViewMode == ObjectListViewMode.List) { 198if (Control.HasControls()) { 208if (Control.Selection.HasControls()) { 210Control.Selection.RenderChildren(writer); 214RenderItemDetails(writer, Control.Selection); 224if (Control.AllFields.Count == 0) { 233Style labelStyle = Control.LabelStyle; 234Style subCommandStyle = Control.CommandStyle; 245writer.WriteEncodedText (item[Control.LabelFieldIndex]); 259ObjectListCommandCollection commands = Control.Commands; 270String controlBCT = Control.BackCommandText; 282if (Control.VisibleItemCount == 0) { 287Style labelStyle = Control.LabelStyle; 288Style subCommandStyle = Control.CommandStyle; 306writer.Write(item[Control.LabelFieldIndex]); 314IObjectListFieldCollection fields = Control.AllFields; 338ObjectListCommandCollection commands = Control.Commands; 346String controlBCT = Control.BackCommandText; 349Control.BackCommandText; 364IObjectListFieldCollection fields = Control.AllFields; 384if (Control.VisibleItemCount == 0) { 393int pageStart = Control.FirstVisibleItemIndex; 394int pageSize = Control.VisibleItemCount; 395ObjectListItemCollection items = Control.Items; 408Style subCommandStyle = Control.CommandStyle; 409Style labelStyle = Control.LabelStyle; 429if (Control.VisibleItemCount == 0) { 434int startIndex = Control.FirstVisibleItemIndex; 435int pageSize = Control.VisibleItemCount; 436ObjectListItemCollection items = Control.Items; 437IObjectListFieldCollection allFields = Control.AllFields; 441int labelFieldIndex = Control.LabelFieldIndex; 445Style labelStyle = Control.LabelStyle; 458writer.Write(Control.AllFields[labelFieldIndex].Title); 479Style subCommandStyle = Control.CommandStyle; 521String controlMT = Control.MoreText; 555Style subCommandStyle = Control.CommandStyle; 580String controlMT = Control.MoreText; 606Style labelStyle = Control.LabelStyle; 608writer.WriteEncodedText(Control.AllFields[fieldIndices[field]].Title); 638return HasItemDetails() || (Control.Commands.Count > 0 && !OnlyHasDefaultCommand()); 653return Control.MobilePage.ActiveForm == Control.Form && Control.Visible && 654(Control.ViewMode == ObjectListViewMode.Commands || 655Control.ViewMode == ObjectListViewMode.Details);