Share via


XhtmlConformanceSection.Mode プロパティ

定義

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

プロパティ値

XhtmlConformanceMode 値のいずれか 1 つ。 既定値は、Transitional です。

属性

注釈

既定では、HTML 4.0 以降をサポートするブラウザーを使用している場合、ページとコントロール ASP.NET、XHTML 1.0 Transitional 標準と互換性のあるマークアップをレンダリングします。 ただし、状況によっては、XHTML マークアップをレンダリング ASP.NET したくない場合があります。 これは通常、XHTML によって通常禁止されるタグまたは属性に依存する既存のページがある場合に当てはまります。

適用対象