WmlMobileTextWriter.WmlLayout 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WmlMobileTextWriter.WmlLayout 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
重载
| 名称 | 说明 |
|---|---|
| WmlMobileTextWriter.WmlLayout(Alignment, Wrapping) |
初始化 WmlMobileTextWriter.WmlLayout 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
| WmlMobileTextWriter.WmlLayout(Style, WmlMobileTextWriter+WmlLayout) |
初始化 WmlMobileTextWriter.WmlLayout 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 |
WmlMobileTextWriter.WmlLayout(Alignment, Wrapping)
初始化 WmlMobileTextWriter.WmlLayout 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
WmlLayout(System::Web::UI::MobileControls::Alignment alignment, System::Web::UI::MobileControls::Wrapping wrapping);
public WmlLayout(System.Web.UI.MobileControls.Alignment alignment, System.Web.UI.MobileControls.Wrapping wrapping);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout : System.Web.UI.MobileControls.Alignment * System.Web.UI.MobileControls.Wrapping -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout
Public Sub New (alignment As Alignment, wrapping As Wrapping)
参数
- alignment
- Alignment
布局的对齐方式。
- wrapping
- Wrapping
布局的包装。
另请参阅
适用于
WmlMobileTextWriter.WmlLayout(Style, WmlMobileTextWriter+WmlLayout)
初始化 WmlMobileTextWriter.WmlLayout 的新实例。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
WmlLayout(System::Web::UI::MobileControls::Style ^ style, System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter::WmlLayout ^ currentLayout);
public WmlLayout(System.Web.UI.MobileControls.Style style, System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout currentLayout);
new System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout : System.Web.UI.MobileControls.Style * System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout -> System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter.WmlLayout
Public Sub New (style As Style, currentLayout As WmlMobileTextWriter.WmlLayout)
参数
- style
- Style
用作此布局的基础的样式。
- currentLayout
- WmlMobileTextWriter.WmlLayout
要用作此布局的基础的布局。
注解
此构造函数首先查找为其Align值和Wrap属性指定的style构造函数。 如果未设置 style这些属性,此构造函数将使用指定 currentLayout属性中的相应属性。