BindAttributes 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於探索標記專案之屬性的 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
- 屬性
備註
若要擴充屬性集,請定義名為 BindAttributes
的 bind
公用類別,並使用適當的屬性標注它。