Share via


SELECTEDSTYLE Attribute | SelectedStyle Property

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

Syntax

Visual Basic  Public  Property SelectedStyle As CssCollection
C# public  CssCollection SelectedStyle { get; set; }
Managed C++ public:  __property CssCollection get_SelectedStyle();
public:  __property void set_SelectedStyle(CssCollection);
JScript public   function get SelectedStyle() : CssCollection;
public   function set SelectedStyle(CssCollection);

Possible Values

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

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

Applies To

TabItem, TOOLBAR, TOOLBARBUTTON, TOOLBARCHECKBUTTON, TOOLBARCHECKGROUP, TreeBase, TREEVIEW

See Also

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