WmlMobileTextWriter.WmlLayout 构造函数
定义
初始化 WmlMobileTextWriter.WmlLayout 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlLayout. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
重载
| WmlMobileTextWriter.WmlLayout(Alignment, Wrapping) |
初始化 WmlMobileTextWriter.WmlLayout 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlLayout. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
| WmlMobileTextWriter.WmlLayout(Style, WmlMobileTextWriter+WmlLayout) |
初始化 WmlMobileTextWriter.WmlLayout 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlLayout. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
WmlMobileTextWriter.WmlLayout(Alignment, Wrapping)
初始化 WmlMobileTextWriter.WmlLayout 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlLayout. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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
布局的对齐方式。The alignment of the layout.
- wrapping
- Wrapping
布局的换行方式。The wrapping of the layout.
另请参阅
- WmlMobileTextWriter
- 自适应控制行为的体系结构概述Architectural Overview of Adaptive Control Behavior
- 适配器集功能Adapter Sets Functionality
适用于
WmlMobileTextWriter.WmlLayout(Style, WmlMobileTextWriter+WmlLayout)
初始化 WmlMobileTextWriter.WmlLayout 的新实例。Initializes a new instance of WmlMobileTextWriter.WmlLayout. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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
要用作此布局基础的样式。The style to use as a base for this layout.
- currentLayout
- WmlMobileTextWriter.WmlLayout
要用作此布局基础的布局。The layout to use as a base for this layout.
注解
此构造函数首先查看为 style 其和属性的值指定 Align 的 Wrap 。This constructor looks first to the specified style for the values of its Align and Wrap properties. 如果未在中设置这些属性 style ,则此构造函数使用指定的中的相应属性 currentLayout 。If these properties are not set in the style, this constructor uses the corresponding properties from the specified currentLayout.
另请参阅
- WmlMobileTextWriter
- 自适应控制行为的体系结构概述Architectural Overview of Adaptive Control Behavior
- 适配器集功能Adapter Sets Functionality