XhtmlConformanceSection.Mode Proprietà

Definizione

Ottiene o imposta la proprietà Mode.

public:
 property System::Web::Configuration::XhtmlConformanceMode Mode { System::Web::Configuration::XhtmlConformanceMode get(); void set(System::Web::Configuration::XhtmlConformanceMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Web.Configuration.XhtmlConformanceMode.Transitional)]
public System.Web.Configuration.XhtmlConformanceMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Web.Configuration.XhtmlConformanceMode.Transitional)>]
member this.Mode : System.Web.Configuration.XhtmlConformanceMode with get, set
Public Property Mode As XhtmlConformanceMode

Valore della proprietà

XhtmlConformanceMode

Uno dei valori di XhtmlConformanceMode. Il valore predefinito è Transitional.

Attributi

Commenti

Per impostazione predefinita, quando si lavora con browser che supportano HTML 4.0 o versione successiva, le pagine e i controlli ASP.NET eseguono il rendering di markup compatibile con lo standard XHTML 1.0 Transitional. In alcune circostanze, tuttavia, potrebbe non essere necessario ASP.NET eseguire il rendering del markup XHTML. Questo vale in genere quando si dispone di pagine esistenti che si basano su tag o attributi che in genere non sono consentiti da XHTML.

Si applica a