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

G. andrew Duthie; matthew Macdonald

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

lImageAdapter.NET 1.1

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

This adapter renders the System.Web.UI.MobileControls.Image control to cHTML. Usually, it will select the appropriate cHTML-compatible image from the device-specific ImageUrl you specify.

public class 

lImageAdapter : HtmlImageAdapter { // Public Constructors public

lImageAdapter ( ); // Protected Instance Methods protected override void

AddAttributes (HtmlMobileTextWriter

writer );// overrides HtmlControlAdapter protected internal override void

RenderImage (HtmlMobileTextWriter

writer ); // overrides HtmlImageAdapter }

Hierarchy

System.Object ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) HtmlControlAdapter HtmlImageAdapter lImageAdapter