Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET ListItem Enabled Property

ASP.NET ListItem Enabled Property


ListItem Control ListItem control


Definition and Usage

The Enabled property is used to set or return whether a ListItem is enabled by default.

If this property is set to TRUE, the ListItem is enabled by default; otherwise it is FALSE. The default is TRUE.

Syntax

/>


Example

The following example disables a ListItem in a ListBox control:

Demo Example »


ListItem Control ListItem control