XhtmlMobileTextWriter.UseDivsForBreaks Property

Definition

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 Mobile Apps & Sites with ASP.NET.

public:
 property bool UseDivsForBreaks { bool get(); void set(bool value); };
public bool UseDivsForBreaks { get; set; }
member this.UseDivsForBreaks : bool with get, set
Public Property UseDivsForBreaks As Boolean

Property Value

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

Remarks

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

Applies to

See also