
862
|
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.
IRepeatInfoUser
System.Web.UI.WebControls (system.web.dll)
interface
This interface specifies the contract for the RepeatInfo class. These requirements include
properties that identify whether footer or header information is present (HasFooter and
HasHeader) and identify the number of times the chosen control will be repeated (Repeate-
dItemCount). This interface also requires a method for rendering the chosen control
(RenderItem( )), which will be used for each repetition.
Implemented By
CheckBoxList, DataList, RadioButtonList
Passed To
RepeatInfo.RenderRepeater( )
Label
System.Web.UI.WebControls (system.web.dll)
disposable
class
This class represents a Label control, which allows you to place text on a page and
modify it later by using the Text property. You can use HTML tags like <br> and <i> in
the text string to format portions of the control.
Hierarchy
System.Object ➝ System.Web.UI.Control(System.ComponentModel.IComponent, System.
IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor)
➝
WebControl(System.Web.UI.IAttributeAccessor) ➝ Label
Subclasses
BaseValidator
public interface IRepeatInfoUser {
// Public Instance Properties
public bool HasFooter{get; }
public bool HasHeader{get; }
public bool HasSeparators ...