共用方式為


TextBox.Numeric 屬性

定義

取得或設定值,指出是否必須完全輸入數值。 預設為 false。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

public:
 property bool Numeric { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
public bool Numeric { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
member this.Numeric : bool with get, set
Public Property Numeric As Boolean

屬性值

如果必須完全輸入數值則為 true,否則為 false

屬性

備註

並非所有標記語言都支援使用完整數值用戶輸入。 例如,HTML 不支援這個屬性。

適用於

另請參閱