語言

AppearanceEditorPart.DefaultButton 屬性

定義

覆蓋從控制項繼承 Panel 的基礎屬性,以隱藏該屬性,避免被設計師影響。 雖然它是公開的,但此屬性用於預設渲染此控制項,並非設計用來從開發者程式碼中呼叫。

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

屬性值

一個包含控制項中預設焦點Button的控制項 ID Panel 的字串。

屬性

備註

此屬性無法由主題或樣式表主題設定。 更多資訊請參閱 ThemeableAttribute 並 ASP.NET 主題與皮膚。

適用於

另請參閱