SelectionList Class Members

Public Constructors

SelectionList Constructor Initializes a new instance of the SelectionList class.

Public Events

DataBinding Event (inherited from Control) Inherited from .NET Framework.
Disposed Event (inherited from Control) Inherited from .NET Framework.
Init Event (inherited from Control) Inherited from .NET Framework.
ItemDataBind Event Occurs when an item in a SelectionList control is bound to data.
Load Event (inherited from Control) Occurs when a control is custom paginated and needs more data.
PreRender Event (inherited from Control) Inherited from .NET Framework.
SelectedIndexChanged Event Occurs whenever a user changes the selection of a SelectionList object.
Unload Event (inherited from Control) Inherited from .NET Framework.

Public Methods

AddLinkedForms Method (inherited from MobileControl) Adds, to the list provided, the set of forms that contains links to the specified control.
CreateDefaultTemplatedUI Method (inherited from MobileControl) Called by device adapters to create the default templated UI for the control.
DataBind Method (inherited from Control) Binds the field of the specified item to its corresponding data. Called internally by ASP.NET.
Dispose Method (inherited from Control) Inherited from .NET Framework.
EnsureTemplatedUI Method (inherited from MobileControl) Use this method to ensure that the templates are instantiated to allow programmatically access to the instantiated contents of a template.
Equals Method (inherited from Object) Inherited from .NET Framework.
GetHashCode Method (inherited from Object) Used internally by ASP.NET. Not intended for use by client applications.
GetTemplate Method (inherited from MobileControl) Returns the template with the specified name.
GetType Method (inherited from Object) Inherited from .NET Framework.
HasControls Method (inherited from Control) Inherited from .NET Framework.
IsVisibleOnPage Method (inherited from MobileControl) Returns whether the control is visible on the given page of the form. Used for form pagination.
PaginateRecursive Method (inherited from MobileControl) Paginates the control and its children. Called internally by ASP.NET.
RenderChildren Method (inherited from MobileControl) Renders children of the control.
RenderControl Method (inherited from Control) Inherited from .NET Framework.
ResolveFormReference Method (inherited from MobileControl) Returns the form object referenced by the name parameter.
ResolveUrl Method (inherited from Control) Controls and adapters can call the ResolveUrl method on a MobileControl to resolve a URL relative to the directory of the page or user control that contains the control.
SetRenderMethodDelegate Method (inherited from Control) Inherited from .NET Framework.
ToString Method (inherited from Object) Inherited from .NET Framework.

Protected Methods

AddedControl Method (inherited from Control) Inherited from .NET Framework.
AddParsedSubObject Method (inherited from Control) Inherited from .NET Framework.
BuildProfileTree Method (inherited from Control) Inherited from .NET Framework.
ClearChildViewState Method (inherited from Control) Inherited from .NET Framework.
CreateChildControls Method (inherited from Control) Inherited from .NET Framework.
CreateControlCollection Method (inherited from Control) Inherited from .NET Framework.
CreateItems Method Creates items in an items collection.
CreateStyle Method (inherited from MobileControl) Constructs and returns the style object to be associated with the control. Inheriting classes can override this method to return a more specific style class.
CreateTemplatedUI Method (inherited from MobileControl) Called by base classes to create a templated UI.
EnsureChildControls Method (inherited from Control) Inherited from .NET Framework.
Finalize Method (inherited from Object) Inherited from .NET Framework.
FindControl Method (inherited from Control) Inherited from .NET Framework.
IsFormSubmitControl Method (inherited from MobileControl) Returns true if the control submits the form. The default is false.
IsLiteralContent Method (inherited from Control) Inherited from .NET Framework.
LoadPrivateViewState Method (inherited from MobileControl) Loads private view state. The state passed in can be null. Controls can override this method to load private view state stored by overriding SavePrivateViewState.
LoadViewState Method (inherited from Control) Inherited from .NET Framework.
MapPathSecure Method (inherited from Control) Inherited from .NET Framework.
MemberwiseClone Method (inherited from Object) Inherited from .NET Framework.
OnBubbleEvent Method (inherited from Control) Inherited from .NET Framework.
OnDataBinding Method Event handler for the Databinding event.
OnInit Method (inherited from Control) Inherited from .NET Framework.
OnItemDataBind Method Called when a list item is data-bound.
OnLoad Method (inherited from Control) Called when the control is custom paginated and needs more data.
OnPageChange Method Paginates a control.
OnPreRender Method (inherited from Control) Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering.
OnRender Method (inherited from MobileControl) Renders a control to the specified output stream.
OnSelectedIndexChanged Method Called when the selected index changes. The list must be in selection mode for this method to be called.
OnUnload Method (inherited from Control) Inherited from .NET Framework.
RaiseBubbleEvent Method (inherited from Control) Inherited from .NET Framework.
RemovedControl Method (inherited from Control) Inherited from .NET Framework.
Render Method (inherited from Control) Called by the control's OnPreRender method, to perform adapter-specific work prior to rendering.
SavePrivateViewState Method (inherited from MobileControl) Saves any private view state changes that have occurred since the page was loaded from persistence. If no changes were made, this method returns null.
SaveViewState Method Saves any changes in the view state that have occurred since the page was posted back to the server.
TrackViewState Method Enables view state tracking in a control.

Public Properties

Adapter Property Returns the device-specific adapter for the control.
Alignment Property (inherited from MobileControl) Sets or returns the specified alignment for the style.
BackColor Property (inherited from MobileControl) Sets or returns the specified background color for the style. The default value is null.
BindingContainer Property (inherited from Control) Inherited from .NET Framework.
BreakAfter Property (inherited from MobileControl) Returns or sets a property that determines whether an additional trailing break is rendered after the control. This break results in subsequent content starting on the next line. The default is true.
ClientID Property (inherited from Control) Inherited from .NET Framework.
Controls Property (inherited from Control) Inherited from .NET Framework.
CustomAttributes Property Sets or returns whether controls on the page can have custom attributes defined. The default value is the value of the allowCustomAttributes attribute of the <mobilecontrols> section of web.config.
DataMember Property Sets or returns the data member to extract when data binding to a list data source. The default value is an empty string ("").
DataSource Property Sets or returns the data source of the list that is being bound. The default value is null.
DataTextField (SelectionList) Property Specifies which property of a data-bound item to use when binding an item's Text property. Default is null.
DataValueField (SelectionList) Property Specifies which property of a data-bound item to use when binding an item's Value property. Default is null.
DeviceSpecific Property (inherited from MobileControl) Sets or returns the DeviceSpecific/Choice construct associated with the control. The accessor returns null if no such construct exists.
EnableViewState Property (inherited from Control) Inherited from .NET Framework.
FirstPage Property (inherited from MobileControl) Returns the first page of the form on which this control appears.
Font Property (inherited from MobileControl) Returns true if the device supports the Font property for text. The default is true.
ForeColor Property (inherited from MobileControl) Sets or returns the specified foreground color for the style. Typically, this property sets the color for the text. The default value is null.
Form Property (inherited from MobileControl) Sets or returns the page's currently active form.
ID Property (inherited from Control) Returns true if the specified control causes server-side validation to occur on data controls on the same form. The default value is true.
IsMultiSelect Returns true if the selection list allows multiple selections.
IsTemplated Property (inherited from MobileControl) Returns whether the object has an active template set.
Items Property Returns the collection of items in a MobileListItemCollection list. The default value is an empty collection.
LastPage Property (inherited from MobileControl) Returns the last page of the form on which the specified control is displayed.
MobilePage Property (inherited from MobileControl) Returns the containing page.
NamingContainer Property (inherited from Control) Inherited from .NET Framework.
Page Property (inherited from Control) Sets or returns the index of the current page in the paginated form. The default value is 0.
Parent Property (inherited from Control) Inherited from .NET Framework.
Rows Property Returns or sets the number of rows in the selection list, for appropriate rendering. (HTML and cHTML only).
SelectedIndex Property Returns the index of the selected item. The default value is –1.
Selection Property Returns the selected item, or null if there is no selection.
SelectType Property Sets or returns the type of UI used to provide a selection UI. Must be of type ListSelectType. The default value is DropDown.
Site Property (inherited from Control) Inherited from .NET Framework.
StyleReference Property (inherited from MobileControl) Sets or returns a reference to the style properties for a control. The value of the StyleReference property must be the Name property of a Style object.
TemplateSourceDirectory Property (inherited from Control) Inherited from .NET Framework.
Title Property  
UniqueID Property (inherited from Control) Inherited from .NET Framework.
Visible Property (inherited from Control) Returns the first item visible on the current form page.
VisibleWeight Property (inherited from MobileControl) Returns the approximate weight of the control, in characters.
Wrapping Property (inherited from MobileControl) Sets or returns the specified wrapping mode for the style. The default value is NotSet.

Protected Properties

ChildControlsCreated Property (inherited from Control) Inherited from .NET Framework.
Context Property (inherited from Control) Inherited from .NET Framework.
Events Property (inherited from Control) Returns the key to use to submit the event source.
HasChildViewState Property (inherited from Control) Inherited from .NET Framework.
InnerText Property (inherited from MobileControl) Returns the text inside the control. The inner text might be a combination of text from child controls.
IsTrackingViewState Property (inherited from Control) Inherited from .NET Framework.
PaginateChildren Property (inherited from MobileControl) Returns whether the children of the control must be paginated. Used for form pagination.
ViewState Property (inherited from Control) Returns the view state information — which combines private view state and an identifier for application view state — to write to the client in encoded form.
ViewStateIgnoresCase Property (inherited from Control) Inherited from .NET Framework.

See Also

SelectionList Class