Wrapping 枚举

定义

警告

此 API 现已过时。

指定所呈现文本的换行方式。Specifies how rendered text is wrapped. 此类不能被继承。This class cannot be inherited. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public enum class Wrapping
[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 https://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum Wrapping
type Wrapping = 
Public Enum Wrapping
继承
Wrapping
属性

字段

NotSet 0

默认值。Default value. 如果值为 NotSet,则控件换行与否是从控件的样式继承的,或者,如果未定义样式,则从控件的父控件继承。If the value is NotSet, then whether a control wraps or not is inherited from the control's style, or, if the style is not defined, from the control's parent control. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

NoWrap 2

文本不换行。Text is not wrapped. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Wrap 1

文本在屏幕或容器的边距处换行。Text is wrapped at the margins of a screen or a container. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

注解

仅在某些设备上支持各种换行模式。Various wrapping modes are only supported on certain devices. 有关详细信息,请参阅有关特定于设备的样式呈现的信息。See information about device-specific rendering of styles for details.

适用于

另请参阅