BindAttributes 类

定义

用于发现 bind 标记元素的属性的基础结构。

public ref class BindAttributes abstract sealed
[Microsoft.AspNetCore.Components.BindElement("select", null, "value", "onchange")]
[Microsoft.AspNetCore.Components.BindElement("textarea", null, "value", "onchange")]
[Microsoft.AspNetCore.Components.BindInputElement("checkbox", null, "checked", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement("date", "value", "value", "onchange", true, "yyyy-MM-dd")]
[Microsoft.AspNetCore.Components.BindInputElement("date", null, "value", "onchange", true, "yyyy-MM-dd")]
[Microsoft.AspNetCore.Components.BindInputElement("number", "value", "value", "onchange", true, null)]
[Microsoft.AspNetCore.Components.BindInputElement("number", null, "value", "onchange", true, null)]
[Microsoft.AspNetCore.Components.BindInputElement("text", null, "value", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement(null, "value", "value", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement(null, null, "value", "onchange", false, null)]
public static class BindAttributes
[Microsoft.AspNetCore.Components.BindElement("select", null, "value", "onchange")]
[Microsoft.AspNetCore.Components.BindElement("textarea", null, "value", "onchange")]
[Microsoft.AspNetCore.Components.BindInputElement("checkbox", null, "checked", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement("date", "value", "value", "onchange", true, "yyyy-MM-dd")]
[Microsoft.AspNetCore.Components.BindInputElement("date", null, "value", "onchange", true, "yyyy-MM-dd")]
[Microsoft.AspNetCore.Components.BindInputElement("number", "value", "value", "onchange", true, null)]
[Microsoft.AspNetCore.Components.BindInputElement("number", null, "value", "onchange", true, null)]
[Microsoft.AspNetCore.Components.BindInputElement("text", null, "value", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement(null, "value", "value", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement(null, null, "value", "onchange", false, null)]
[Microsoft.AspNetCore.Components.BindInputElement("datetime-local", "value", "value", "onchange", true, "yyyy-MM-ddTHH:mm:ss")]
[Microsoft.AspNetCore.Components.BindInputElement("datetime-local", null, "value", "onchange", true, "yyyy-MM-ddTHH:mm:ss")]
[Microsoft.AspNetCore.Components.BindInputElement("month", "value", "value", "onchange", true, "yyyy-MM")]
[Microsoft.AspNetCore.Components.BindInputElement("month", null, "value", "onchange", true, "yyyy-MM")]
[Microsoft.AspNetCore.Components.BindInputElement("time", "value", "value", "onchange", true, "HH:mm:ss")]
[Microsoft.AspNetCore.Components.BindInputElement("time", null, "value", "onchange", true, "HH:mm:ss")]
public static class BindAttributes
[<Microsoft.AspNetCore.Components.BindElement("select", null, "value", "onchange")>]
[<Microsoft.AspNetCore.Components.BindElement("textarea", null, "value", "onchange")>]
[<Microsoft.AspNetCore.Components.BindInputElement("checkbox", null, "checked", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("date", "value", "value", "onchange", true, "yyyy-MM-dd")>]
[<Microsoft.AspNetCore.Components.BindInputElement("date", null, "value", "onchange", true, "yyyy-MM-dd")>]
[<Microsoft.AspNetCore.Components.BindInputElement("number", "value", "value", "onchange", true, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("number", null, "value", "onchange", true, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("text", null, "value", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement(null, "value", "value", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement(null, null, "value", "onchange", false, null)>]
type BindAttributes = class
[<Microsoft.AspNetCore.Components.BindElement("select", null, "value", "onchange")>]
[<Microsoft.AspNetCore.Components.BindElement("textarea", null, "value", "onchange")>]
[<Microsoft.AspNetCore.Components.BindInputElement("checkbox", null, "checked", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("date", "value", "value", "onchange", true, "yyyy-MM-dd")>]
[<Microsoft.AspNetCore.Components.BindInputElement("date", null, "value", "onchange", true, "yyyy-MM-dd")>]
[<Microsoft.AspNetCore.Components.BindInputElement("number", "value", "value", "onchange", true, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("number", null, "value", "onchange", true, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("text", null, "value", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement(null, "value", "value", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement(null, null, "value", "onchange", false, null)>]
[<Microsoft.AspNetCore.Components.BindInputElement("datetime-local", "value", "value", "onchange", true, "yyyy-MM-ddTHH:mm:ss")>]
[<Microsoft.AspNetCore.Components.BindInputElement("datetime-local", null, "value", "onchange", true, "yyyy-MM-ddTHH:mm:ss")>]
[<Microsoft.AspNetCore.Components.BindInputElement("month", "value", "value", "onchange", true, "yyyy-MM")>]
[<Microsoft.AspNetCore.Components.BindInputElement("month", null, "value", "onchange", true, "yyyy-MM")>]
[<Microsoft.AspNetCore.Components.BindInputElement("time", "value", "value", "onchange", true, "HH:mm:ss")>]
[<Microsoft.AspNetCore.Components.BindInputElement("time", null, "value", "onchange", true, "HH:mm:ss")>]
type BindAttributes = class
Public Class BindAttributes
继承
BindAttributes
属性

注解

若要扩展特性集 bind ,请定义名为 BindAttributes 的公共类,并使用相应的属性对其进行批注。

适用于