ASP.NET in a Nutshell, Second Edition

WmlImageAdapter.NET 1.1

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

This adapter renders the System.Web.UI.MobileControls.Image control to WML. Usually, it will select the appropriate cHTML-compatible image from the device-specific ImageUrl you specify (which is typically a .wbmp file).

public class WmlImageAdapter : WmlControlAdapter { // Public Constructors public WmlImageAdapter( ); // Protected Instance Properties protected Image Control{get; } // Public Instance Methods public override void Render(WmlMobileTextWriter writer); // overrides WmlControlAdapter }

Hierarchy

System.Object ControlAdapter(System.Web.UI.MobileControls.IControlAdapter) WmlControlAdapter WmlImageAdapter

Категории