BehaviorEditorPart.DefaultButton 屬性

定義

取得或設定控制項上預設按鈕的 ID。

public:
 virtual property System::String ^ DefaultButton { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override string DefaultButton { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.DefaultButton : string with get, set
Public Overrides Property DefaultButton As String

屬性值

String

包含預設按鈕 ID 的字串。

屬性

備註

屬性 DefaultButton 會覆寫基底屬性,以在 屬性上設定數個屬性。 屬性無法與主題搭配使用,而且無法使用設計階段使用者介面流覽, (UI) 。 屬性的值是從基底屬性值擷取。

這個屬性無法由佈景主題或樣式表主題設定。 如需詳細資訊,請參閱 ThemeableAttributeASP.NET 主題和麵板

適用於

另請參閱