DekGenius.com
[ Team LiB ] Previous Section Next Section

HtmlMobileTextWriter.NET 1.1, marshal by reference, disposable

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

Device adapters that render HTML use the HtmlMobileTextWriter to write their output. The HtmlMobileTextWriter instance is provided in adapter methods like Render( ).

public class HtmlMobileTextWriter : MobileTextWriter {
// Public Constructors
   public HtmlMobileTextWriter(System.IO.TextWriter writer, System.Web.Mobile.MobileCapabilities device);
// Protected Instance Properties
   protected internal bool RenderBodyColor{set; get; }
   protected internal bool RenderBold{set; get; }
   protected internal bool RenderDivAlign{set; get; }
   protected internal bool RenderDivNoWrap{set; get; }
   protected internal bool RenderFontColor{set; get; }
   protected internal bool RenderFontName{set; get; }
   protected internal bool RenderFontSize{set; get; }
   protected internal bool RenderItalic{set; get; }
   protected internal bool RequiresNoBreakInFormatting{set; get; }
// Public Instance Methods
   public void BeginStyleContext( );
   public void EndStyleContext( );
   public override void EnterFormat(System.Web.UI.MobileControls.Style style); // overrides MobileTextWriter 
   public override void EnterLayout(System.Web.UI.MobileControls.Style style); // overrides MobileTextWriter 
   public void EnterStyle(System.Web.UI.MobileControls.Style style);// overrides MobileTextWriter 
   public override void ExitFormat(System.Web.UI.MobileControls.Style style);
                 // overrides MobileTextWriter 
   public override void ExitFormat(System.Web.UI.MobileControls.Style style, bool breakAfter); // overrides MobileTextWriter
   public override void ExitLayout(System.Web.UI.MobileControls.Style style); // overrides MobileTextWriter 
   public override void ExitLayout(System.Web.UI.MobileControls.Style style, bool breakAfter);
                 // overrides MobileTextWriter
   public void ExitStyle(System.Web.UI.MobileControls.Style style);  // overrides MobileTextWriter 
   public void ExitStyle(System.Web.UI.MobileControls.Style style, bool breakAfter);
   public override void Write(char c);             // overrides System.Web.UI.HtmlTextWriter
   public override void Write(string text);        // overrides System.Web.UI.HtmlTextWriter
   public override void WriteBeginTag(string tag);              // overrides System.Web.UI.HtmlTextWriter
   public void WriteBreak( );
   public override void WriteEncodedText(string text);          // overrides MobileTextWriter
   public override void WriteFullBeginTag(string tag);          // overrides System.Web.UI.HtmlTextWriter
   public void WriteHiddenField(string name, string value);
   public override void WriteLine(string text);                 // overrides System.Web.UI.HtmlTextWriter
   public void WriteText(string text, bool encodeText);
   public void WriteUrlParameter(string name, string value);
// Protected Instance Methods
   protected internal void MarkStyleContext( );
   protected internal void UnMarkStyleContext( );
}

Hierarchy

System.Object System.MarshalByRefObject System.IO.TextWriter(System.IDisposable) System.Web.UI.HtmlTextWriter MultiPartWriter MobileTextWriter HtmlMobileTextWriter

Subclasses

ChtmlMobileTextWriter

Passed To

Multiple types

    [ Team LiB ] Previous Section Next Section