BehaviorEditorPart::DefaultButton Property

 

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

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public:
[BrowsableAttribute(false)]
[ThemeableAttribute(false)]
property String^ DefaultButton {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

A string that contains the ID of the default button.

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.

.NET Framework
Available since 2.0
Return to top
Show: