TextViewElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.
为对象提供文本 TextView 。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅具有 ASP.NET的移动应用 & 网站
public ref class TextViewElement
public class TextViewElement
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class TextViewElement
type TextViewElement = class
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type TextViewElement = class
Public Class TextViewElement
- 继承
-
TextViewElement
- 属性
注解
该 TextViewElement 类支持 TextView 通过将对象的 text 属性 TextView 分解为逻辑元素。 然后,每个元素由对象的分页机制 TextView 使用。 移动控件使用此类 TextView 来确保在链接或其他不应在页面之间划分的元素中不发生分页符。
如果要派生自 TextView 移动控件或正在创建新的适配器,则你可能能够在不修改的情况下使用此类。
属性
| 名称 | 说明 |
|---|---|
| BreakAfter |
已过时.
设置或返回一个属性,该属性确定是否在控件之后呈现额外的尾随中断。 此中断会导致后续内容在下一行开始。 默认值为 |
| IsBold |
已过时.
如果文本为粗体,则返回 |
| IsItalic |
已过时.
返回 |
| Text |
已过时.
设置或返回控件的文本。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅具有 ASP.NET的移动应用 & 网站 |
| Url |
已过时.
返回文本的 URL。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅具有 ASP.NET的移动应用 & 网站 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
已过时.
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
已过时.
用作默认哈希函数。 (继承自 Object) |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
返回一个表示当前对象的字符串。 (继承自 Object) |