XhtmlControlAdapter.ConditionalRenderOpeningSpanElement(XhtmlMobileTextWriter) Método
Definição
Renderizará uma marca de abertura para um elemento <span>, se determinadas condições forem atendidas.Renders an opening tag for a <span> element, if certain conditions are met. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
virtual void ConditionalRenderOpeningSpanElement(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer);
protected virtual void ConditionalRenderOpeningSpanElement (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer);
abstract member ConditionalRenderOpeningSpanElement : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
override this.ConditionalRenderOpeningSpanElement : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
Protected Overridable Sub ConditionalRenderOpeningSpanElement (writer As XhtmlMobileTextWriter)
Parâmetros
- writer
- XhtmlMobileTextWriter
O objeto XhtmlMobileTextWriter usado para renderizar o conteúdo do controle de servidor no navegador do cliente.The XhtmlMobileTextWriter object used to render the server control content on the client's browser.
Comentários
Esse método gravará o <span> elemento de abertura se as seguintes condições forem atendidas:This method writes the opening <span> element if the following conditions are met:
O Device não requer supressão de estilos de folha de estilo em cascata.The Device does not require suppression of cascading style sheet styles.
A CssLocation propriedade representa um arquivo físico.The CssLocation property represents a physical file.
O valor do atributo de classe para o controle atual é diferente do valor do atributo de classe do controle anterior.The class attribute value for the current control is different than the class attribute value for the previous control.
Esse método é usado principalmente pelo .NET Framework internamente.This method is primarily used by the .NET Framework internally.