
868
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Passed To
DataGrid.CreateItem( ), DataGridColumn.InitializeCell( ), DataGridItem.DataGridItem( ),
DataList.CreateItem( ), DataListItem.DataListItem( ), IRepeatInfoUser.{GetItemStyle( ),
RenderItem( )}, Repeater.CreateItem( ), RepeaterItem.RepeaterItem( )
ListSelectionMode
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration specifies whether list controls (which derive from ListControl) allow
only one selection at a time or multiple selections.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ ListSelectionMode
Returned By
ListBox.SelectionMode
Passed To
ListBox.SelectionMode
Literal
System.Web.UI.WebControls (system.web.dll)
disposable
class
You can use a Literal control to put plain text on a page (optionally, with embedded
HTML markup tags). In this respect, the Literal control is somewhat like the Label
control, except it cannot use any special formatting, styles, or fonts.
Do not confuse the Literal control with the System.Web.UI.LiteralControl class. The latter is
used by ASP.NET to represent static HTML content found on a web page that will not
be made available to your code as a server-side control.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, ...