共用方式為


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
屬性

備註

若要擴充屬性集,請定義名為 BindAttributesbind 公用類別,並使用適當的屬性標注它。

適用於