XhtmlControlAdapter.ConditionalSetPendingBreakAfterInline(XhtmlMobileTextWriter) 方法

定义

满足某些条件时在内联元素后设置挂起的分行符。Sets a pending break after inline elements if certain conditions are met. 此 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.

protected:
 virtual void ConditionalSetPendingBreakAfterInline(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer);
protected virtual void ConditionalSetPendingBreakAfterInline (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer);
abstract member ConditionalSetPendingBreakAfterInline : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
override this.ConditionalSetPendingBreakAfterInline : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
Protected Overridable Sub ConditionalSetPendingBreakAfterInline (writer As XhtmlMobileTextWriter)

参数

writer
XhtmlMobileTextWriter

用于在客户端浏览器上呈现服务器控件内容的 XhtmlMobileTextWriter 对象。The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

注解

如果满足以下条件,此方法将设置挂起的分行符:This method sets a pending break if the following conditions are met:

  • Device需要在内联元素后使用分行符。The Device requires a break after inline elements.

  • Control需要一个分行符。The Control requires a break after itself.

此方法主要由 .NET Framework 在内部使用。This method is primarily used by the .NET Framework internally.

适用于

另请参阅