HtmlHelper.IdAttributeDotReplacement 属性

定义

获取或设置用于替换呈现窗体控件的 id 属性中的点 (.) 的字符。

public static string IdAttributeDotReplacement { get; set; }
member this.IdAttributeDotReplacement : string with get, set
Public Shared Property IdAttributeDotReplacement As String

属性值

用于替换呈现窗体控件的 id 属性中的点的字符。 默认为下划线 (_)。

适用于