PropertyGridEditorPart.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 控制項中預設焦點之 Panel 控制項的 ID。

屬性

備註

雖然它是公用的,但這個屬性僅用於此控制項的預設呈現,而不可以從開發人員程式碼進行呼叫。

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

適用於

另請參閱