This documentation is archived and is not being maintained.

TextViewElement Class

Provides text for a TextView object.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in

Public Class TextViewElement
Dim instance As TextViewElement

public class TextViewElement
public class TextViewElement

The TextViewElement class supports the TextView by breaking the text property of the TextView object into logical elements. Each element is then used by the pagination mechanism of the TextView object. It is this class that the TextView mobile control uses to ensure that page breaks do not occur in the midst of links or other elements that should not be divided between pages.

If you want to derive from the TextView mobile control or are creating a new adapter, you will likely be able to use this class without modification.

  • AspNetHostingPermission  for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
  • AspNetHostingPermission  for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1