XhtmlMobileTextWriter.UseDivsForBreaks Property


Indicates whether to use <div> tags for line breaks rather than <br/> tags when writing line terminators. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public bool UseDivsForBreaks { get; set; }

Property Value

Type: System.Boolean

false if the device does not require using <div> tags for line breaks; otherwise, true.

This property must be initialized by the page adapter, and is used primarily by developers of custom mobile page and control adapters.

.NET Framework
Available since 2.0
Return to top