ObjectList Members
.NET Framework 2.0
Enables you to specify multiple fields for display, per item in an object list.
The following tables list the members exposed by the ObjectList type.
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| Adapter | Returns the device-specific adapter for the control.(Inherited from MobileControl.) |
| Alignment | Gets or sets the specified alignment for the style. The default value is NotSet.(Inherited from MobileControl.) |
| AllFields | Returns the collection of all fields from the ObjectList class, whether explicit or automatically generated. The default value is the collection of automatically generated fields. |
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.(Inherited from Control.) |
| AutoGenerateFields | Specifies whether fields must be automatically generated from data. When enabled, each public property of the data becomes a field of the control. The default value is true. |
| BackColor | Gets or sets the specified background color for the style. The default value is Empty.(Inherited from MobileControl.) |
| BackCommandText | Gets or sets the text used for the command to return from the Details view (accessed through a softkey or link). |
| BindingContainer | Gets the control that contains this control's data binding.(Inherited from Control.) |
| BreakAfter | Gets or sets a property that determines whether an additional trailing break is rendered after the control. This break causes subsequent content to start on the next line. The default is true.(Inherited from MobileControl.) |
| ClientID | Gets the server control identifier generated by ASP.NET.(Inherited from Control.) |
| Commands | Returns the collection of commands in the ObjectList object. Initially, the collection is empty. |
| CommandStyle | Gets or sets the style used for the object list commands. |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.(Inherited from Control.) |
| CustomAttributes | Returns the set of custom attributes defined for the control.(Inherited from MobileControl.) |
| DataMember | Gets or sets the data member to extract when data binding to a list data source. The default value is an empty string (""). |
| DataSource | Gets or sets the data source of the list that is being bound. The default value is null. |
| DefaultCommand | Gets or sets the name of the default command. |
| Details | Returns the panel that contains a device-specific details view. |
| DetailsCommandText | Gets or sets the text used for the menu item that shows the details view. |
| DeviceSpecific | Gets or sets the DeviceSpecific/Choice construct associated with the control.(Inherited from MobileControl.) |
| EnableTheming | Gets a value indicating whether themes apply to this control.(Inherited from MobileControl.) |
| EnableViewState | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.(Inherited from Control.) |
| Fields | Returns the collection of explicitly defined fields in the ObjectListFieldCollection class. |
| FirstPage | Returns the first page of the form on which this control appears.(Inherited from MobileControl.) |
| FirstVisibleItemIndex | Gets the first item visible on the current form page.(Inherited from PagedControl.) |
| Font | Returns a FontInfo object that contains font information about the control.(Inherited from MobileControl.) |
| ForeColor | Gets or sets the specified foreground color for the style. Typically, this property sets the color for the text. The default value is Empty.(Inherited from MobileControl.) |
| Form | Provides access to the containing form.(Inherited from MobileControl.) |
| HasItemCommandHandler | Gets a value indicating whether the ObjectList control has an event handler registered for the appropriate ItemCommand event. |
| ID | Gets or sets the programmatic identifier assigned to the server control.(Inherited from Control.) |
| IsTemplated | Gets a value indicating whether a MobileControl object has an active template set.(Inherited from MobileControl.) |
| ItemCount | Gets or sets the count of items in the control.(Inherited from PagedControl.) |
| Items | Returns the collection of items in an ObjectListItemCollection list. The default value is an empty collection. |
| ItemsPerPage | Gets or sets the number of items displayed per page after pagination.(Inherited from PagedControl.) |
| LabelField | Gets or sets a value (the name or data field) that identifies the field to use as a label for each item. The default value is empty, which causes the first field in the AllFields collection to be used as a label for each item. |
| LabelFieldIndex | Gets the index in the AllFields collection of the field that has been set by the LabelField property. |
| LabelStyle | Gets or sets the style used for the header label. |
| LastPage | Returns the last page of the form on which the specified control is displayed.(Inherited from MobileControl.) |
| MobilePage | Returns the containing page.(Inherited from MobileControl.) |
| MoreText | Gets or sets the text string used for the More link used on HTML browsers to navigate to the details view. The default is More or the localized equivalent. |
| NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value.(Inherited from Control.) |
| Page | Gets a reference to the Page instance that contains the server control.(Inherited from Control.) |
| Parent | Gets a reference to the server control's parent control in the page control hierarchy.(Inherited from Control.) |
| SelectedIndex | Returns the index of the selected item. The default value is -1. |
| Selection | Returns the selected item, or a null reference (Nothing in Visual Basic) if there is no selection. |
| SelectMoreCommand | Gets the text used for the command to select more items in an ObjectList. |
| Site | Gets information about the container that hosts the current control when rendered on a design surface.(Inherited from Control.) |
| SkinID | Gets the ID of the skin to apply to the control.(Inherited from MobileControl.) |
| StyleReference | Gets or sets a reference to the style properties for a control.(Inherited from MobileControl.) |
| TableFieldIndices | Gets an array of indices within the AllFields collection of the fields in the TableFields property. The default value is a null reference (Nothing in Visual Basic). |
| TableFields | Gets or sets which fields are visible when the list view is shown in table mode. The default value is an empty string (""). |
| TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) |
| TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control.(Inherited from Control.) |
| UniqueID | Gets the unique, hierarchically qualified identifier for the server control.(Inherited from Control.) |
| ViewMode | Gets or sets the view mode of an ObjectList. |
| Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page.(Inherited from Control.) |
| VisibleItemCount | Gets the number of items that are visible on the current ASP.NET mobile Web Forms page.(Inherited from PagedControl.) |
| VisibleWeight | Gets the approximate weight of the control, in characters.(Inherited from PagedControl.) |
| Wrapping | Gets or sets the specified wrapping mode for the style. The default value is NotSet.(Inherited from MobileControl.) |
| Name | Description | |
|---|---|---|
| ChildControlsCreated | Gets a value that indicates whether the server control's child controls have been created.(Inherited from Control.) |
| ClientIDSeparator | Gets a character value representing the separator character used in the ClientID property.(Inherited from Control.) |
| Context | Gets the HttpContext object associated with the server control for the current Web request.(Inherited from Control.) |
| DesignMode | Gets a value indicating whether a control is being used on a design surface.(Inherited from Control.) |
| Events | Gets a list of event handler delegates for the control. This property is read-only.(Inherited from Control.) |
| HasChildViewState | Gets a value indicating whether the current server control's child controls have any saved view-state settings.(Inherited from Control.) |
| IdSeparator | Gets the character used to separate control identifiers.(Inherited from Control.) |
| InnerText | Returns the text inside the control. The inner text might be a combination of text from child controls.(Inherited from MobileControl.) |
| InternalItemCount | Overridden. Returns the number of items in the control. |
| IsChildControlStateCleared | Gets a value indicating whether controls contained within this control have control state.(Inherited from Control.) |
| IsTrackingViewState | Gets a value that indicates whether the server control is saving changes to its view state.(Inherited from Control.) |
| IsViewStateEnabled | Gets a value indicating whether view state is enabled for this control.(Inherited from Control.) |
| ItemWeight | Gets the approximate weight of a single item in the control.(Inherited from PagedControl.) |
| LoadViewStateByID | Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from Control.) |
| PaginateChildren | Returns whether or not the children of the control must be paginated. Used for form pagination.(Inherited from MobileControl.) |
| Style | For a description of this property, see System.Web.UI.MobileControls.Style.(Inherited from MobileControl.) |
| ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.(Inherited from Control.) |
| ViewStateIgnoresCase | Gets a value that indicates whether the StateBag object is case-insensitive.(Inherited from Control.) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddLinkedForms | Adds the set of forms that contains links to the specified control to the provided list. (Inherited from MobileControl.) |
| ApplyStyleSheetSkin | Applies the style properties defined in the page style sheet to the control. (Inherited from MobileControl.) |
| CreateDefaultTemplatedUI | Called by device adapters to create the default templated user interface (UI) for the control. (Inherited from MobileControl.) |
| CreateTemplatedItemDetails | Constructs the details view for the current item by using the ItemDetailsTemplate. |
| CreateTemplatedItemsList | Constructs the list view by building templates. |
| DataBind | Overloaded. Overridden. Binds a data source to the ObjectList. |
| Dispose | Enables a server control to perform final clean up before it is released from memory. (Inherited from Control.) |
| EnsureTemplatedUI | Overridden. Use this method to ensure that the templates are instantiated to allow programmatic access to the instantiated contents of a template. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| FindControl | Overloaded. Searches the current naming container for the specified server control. (Inherited from Control.) |
| Focus | Sets input focus to a control. (Inherited from Control.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetTemplate | Returns the template with the specified name. (Inherited from MobileControl.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| HasControls | Determines if the server control contains any child controls. (Inherited from Control.) |
| IsVisibleOnPage | Returns whether or not the control is visible on the given page of the form. Used for form pagination. (Inherited from MobileControl.) |
| PaginateRecursive | Paginates the control and its children. Called internally by ASP.NET. (Inherited from PagedControl.) |
| PreShowItemCommands | Prepares the set of commands for a specified item prior to showing it, by calling any event handlers that might be set on the ShowItemCommands event. Called internally by ASP.NET. |
| RaiseDefaultItemEvent | Called to raise an event for the default command associated with the specified item. Called internally by the ASP.NET. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RenderChildren | Outputs the content of a server control's child controls using the provided HtmlTextWriter. (Inherited from MobileControl.) |
| RenderControl | Overloaded. Outputs server control content and stores tracing information about the control if tracing is enabled. (Inherited from Control.) |
| ResolveClientUrl | Gets a URL that can be used by the browser. (Inherited from Control.) |
| ResolveFormReference | Returns the form object referenced by the name parameter. (Inherited from MobileControl.) |
| ResolveUrl | Converts a URL into one that is usable on the requesting client. (Inherited from MobileControl.) |
| SelectListItem | Tests whether an item in an ObjectList is selected. |
| SetRenderMethodDelegate | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from Control.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AddedControl | Called after a control is added to the Controls collection of another control. (Inherited from MobileControl.) |
| AddParsedSubObject | Overridden. Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's Controls property. |
| BuildProfileTree | Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page. (Inherited from Control.) |
| ClearChildControlState | Deletes the control-state information for the server control's child controls. (Inherited from Control.) |
| ClearChildState | Deletes the view-state and control-state information for all the server control's child controls. (Inherited from Control.) |
| ClearChildViewState | Deletes the view-state information for all the server control's child controls. (Inherited from Control.) |
| CreateAutoGeneratedFields | Automatically generates fields for the given data. |
| CreateChildControls | Overridden. Notifies server controls to create any child controls in preparation for posting back or rendering. |
| CreateControlCollection | Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control. (Inherited from Control.) |
| CreateItem | Creates a list item to contain the object and binds it to the specified object. |
| CreateItems | Creates items in an items collection from the specified dataSource parameter. |
| CreateStyle | Constructs and returns the style object to be associated with the control. (Inherited from MobileControl.) |
| CreateTemplatedUI | Called by base classes to create a templated UI. (Inherited from MobileControl.) |
| DataBind | Overloaded. Binds a data source to the invoked server control and all its child controls. (Inherited from Control.) |
| DataBindChildren | Binds a data source to the server control's child controls. (Inherited from Control.) |
| EnsureChildControls | Overridden. Determines whether the server control contains child controls. If it does not, it creates child controls. |
| EnsureID | Creates an identifier for controls that do not have an identifier assigned. (Inherited from Control.) |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| FindControl | Overloaded. Searches the current naming container for the specified server control. (Inherited from Control.) |
| GetAttribute | Retrieves the specified attribute property from the control. (Inherited from MobileControl.) |
| GetDesignModeState | Gets design-time data for a control. (Inherited from Control.) |
| HasEvents | Returns a value indicating whether events are registered for the control or any child controls. (Inherited from Control.) |
| IsFormSubmitControl | Returns true if the control submits the form. The default is false. (Inherited from MobileControl.) |
| IsLiteralContent | Determines if the server control holds only literal content. (Inherited from Control.) |
| LoadControlState | Restores control-state information from a previous page request that was saved by the SaveControlState method. (Inherited from Control.) |
| LoadPrivateViewState | Overridden. Loads private view state. |
| LoadViewState | Overridden. Restores view-state information from a previous page request that was saved by the SaveViewState method. |
| MapPathSecure | Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from Control.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| OnBubbleEvent | Overridden. Determines whether the event for the server control is passed up the page's UI server control hierarchy. |
| OnDataBinding | Overridden. Raises the DataBinding event. |
| OnInit | Raises the Init event. (Inherited from MobileControl.) |
| OnItemCommand | Called when a list item generates an event as a result of user interaction. |
| OnItemDataBind | Called when a list item is data bound. |
| OnItemSelect | Called after the user selects an item. |
| OnLoad | Raises the Load event. (Inherited from MobileControl.) |
| OnLoadItems | Overridden. Called when the control is custom paginated and needs more data. |
| OnPageChange | Paginates a control. (Inherited from PagedControl.) |
| OnPreRender | Overridden. Raises the PreRender event. |
| OnRender | Renders a control to the specified output stream. (Inherited from MobileControl.) |
| OnShowItemCommands | Called prior to showing the set of commands for a list item. |
| OnUnload | Raises the Unload event. (Inherited from MobileControl.) |
| OpenFile | Gets a Stream used to read a file. (Inherited from Control.) |
| RaiseBubbleEvent | Assigns any sources of the event and its information to the control's parent. (Inherited from Control.) |
| RaisePostBackEvent | Notifies the ObjectList object of a postback event. |
| RemovedControl | Called after a control is removed from the Controls collection of another control. (Inherited from MobileControl.) |
| Render | Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from MobileControl.) |
| RenderControl | Overloaded. Outputs server control content and stores tracing information about the control if tracing is enabled. (Inherited from Control.) |
| ResolveAdapter | Gets the control adapter responsible for rendering the specified control. (Inherited from Control.) |
| SaveControlState | Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from Control.) |
| SavePrivateViewState | Overridden. Saves any private view-state changes that have occurred since the page was loaded from persistence. If no changes were made, this method returns a null reference (Nothing in Visual Basic) (Nothing in Visual Basic). |
| SaveViewState | Overridden. Saves any server control view-state changes that have occurred since the time the page was posted back to the server. |
| SetAttribute | Designates an attribute and its value to assign to the MobileControl object. (Inherited from MobileControl.) |
| SetDesignModeState | Sets design-time data for a control. (Inherited from Control.) |
| TrackViewState | Overridden. Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the ViewState property. |
| Name | Description | |
|---|---|---|
| DataBinding | Occurs when the server control binds to a data source.(Inherited from Control.) |
| Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.(Inherited from Control.) |
| Init | Occurs when the server control is initialized, which is the first step in its lifecycle.(Inherited from Control.) |
| ItemCommand | Occurs when the user selects a command that is associated with an ObjectList item. |
| ItemDataBind | Occurs when an item in an ObjectList is bound to data. |
| ItemSelect | Occurs when a user selects an item from a list view. |
| Load | Occurs when the server control is loaded into the Page object.(Inherited from Control.) |
| LoadItems | Occurs when a control is custom-paginated and needs more data.(Inherited from PagedControl.) |
| PreRender | Occurs after the Control object is loaded but prior to rendering.(Inherited from Control.) |
| ShowItemCommands | Occurs before the commands related to an item in an ObjectList are shown. |
| Unload | Occurs when the server control is unloaded from memory.(Inherited from Control.) |
| Name | Description | |
|---|---|---|
| System.Web.UI.IPostBackEventHandler.RaisePostBackEvent | For a description of this member, see IPostBackEventHandler.RaisePostBackEvent. |
Community Additions
ADD
Show: