XhtmlPageAdapter::InitWriterState Method (XhtmlMobileTextWriter^)
.NET Framework (current version)
Configures the XhtmlMobileTextWriter object for the target device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- writer
-
Type:
System.Web.UI.MobileControls.Adapters.XhtmlAdapters::XhtmlMobileTextWriter^
An XhtmlMobileTextWriter object.
The InitWriterState method is called before rendering the page. This method sets the following properties on writer for the target device:
.NET Framework
Available since 2.0
Available since 2.0
XhtmlMobileTextWriter
UseDivsForBreaks
SuppressNewLine
SupportsNoWrapStyle
XhtmlPageAdapter Class
System.Web.UI.MobileControls.Adapters.XhtmlAdapters Namespace
ASP.NET Mobile Web Forms and ASP.NET Compatibility
Architectural Overview of Adaptive Control Behavior
Adapter Sets Functionality
Control and Adapter Interaction
Show: