ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 604
نمايش فراداده

LiteralText.NET 1.1, disposable

System.Web.UI.MobileControls (system.web.mobile.dll)class

This control is created to represent literal text found inside a container control (like a Form or Panel). You can use a LiteralText control to programmatically add content to a form, although it is generally more common to use a Label control.

public class 

LiteralText : PagedControl { // Public Constructors public

LiteralText ( ); // Public Instance Properties public string

PagedText {get; } public string

Text {set; get; } // Protected Instance Properties protected override int

InternalItemCount {get; } // overrides PagedControl protected override int

ItemWeight {get; } // overrides PagedControl }

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) MobileControl(System.Web.UI.IAttributeAccessor) PagedControl LiteralText

Returned By

System.Web.UI.MobileControls.Adapters.HtmlLiteralTextAdapter.Control, System.Web.UI.MobileControls.Adapters.WmlLiteralTextAdapter.Control