DefaultHtmlGenerator.AllowRenderingMaxLengthAttribute プロパティ

定義

属性が または 属性でマークされたStringLengthAttributeモデルにバインドされている場合に、互換性のある HTML 入力要素に対して属性をレンダリングする必要があるかどうかをmaxlength示す値を取得またはMaxLengthAttribute設定します。

protected:
 property bool AllowRenderingMaxLengthAttribute { bool get(); };
protected bool AllowRenderingMaxLengthAttribute { get; }
member this.AllowRenderingMaxLengthAttribute : bool
Protected ReadOnly Property AllowRenderingMaxLengthAttribute As Boolean

プロパティ値

既定値は true です。

注釈

両方の属性を指定した場合、値が小さい属性がレンダリングされた maxlength 属性に使用されます。

このプロパティは現在無視されています。

適用対象