DefaultButton Property
Collapse the table of content
Expand the table of content

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)

[BrowsableAttribute(false)]
[ThemeableAttribute(false)]
public override string DefaultButton { get; set; }

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:
© 2016 Microsoft