XhtmlControlAdapter.ConditionalExitStyle(XhtmlMobileTextWriter, Style) 方法

定义

满足某些条件时结束使用过指定样式的布局和字符格式的 </span> 元素。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

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

参数

writer
XhtmlMobileTextWriter

用于在客户端浏览器上呈现服务器控件内容的 XhtmlMobileTextWriter 对象。

style
Style

Style 对象。

注解

如果满足以下条件,则 ConditionalExitStyle 方法呈现一个一直使用指定样式中的布局和字符格式的结束 </span> 元素:

此方法主要由内部.NET Framework使用。

适用于

另请参阅