Edit

Share via


BehaviorEditorPart.DefaultButton Property

Definition

Gets or sets the ID of the default button on the control.

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

Property Value

A string that contains the ID of the default button.

Attributes

Remarks

The DefaultButton property overrides the base property to set several attributes on the property. The property cannot be used with themes, and it cannot be browsed with a design-time user interface (UI). The value of the property is retrieved from the base property value.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.

Applies to

See also