Partager via


SELECTEDSTYLE Attribute | SelectedStyle Property

Sets or retrieves a value that indicates the style for the selected element.

Syntax

ASP <tagPrefix:ELEMENT SELECTEDSTYLE = sSelectedStyle ... >
Script [ sSelectedStyle = ] object.SelectedStyle

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
sSelectedStyle CssCollection that specifies one or more Cascading Style Sheets (CSS) attribute/value pairs.

The property is read/write. The property has no default value.

Remarks

The SELECTEDSTYLE property of a TABSEPARATOR object overwrites the SEPSELECTEDSTYLE property of a TABSTRIP object.

If the property is not set, the selected toolbar item(s) display the default behavior.

Applies To

TAB, TABSEPARATOR, TOOLBAR, TOOLBARBUTTON, TOOLBARCHECKBUTTON, TOOLBARCHECKGROUP, TREENODE, TREENODETYPE, TREEVIEW

See Also

CssCollection, Internet Explorer WebControls, About the TabStrip WebControl, About the Toolbar WebControl, About the TreeView WebControl