Easy Tutorial
❮ Control Calendar Webpages Publish ❯

ASP.NET ListItem Enabled Property



Definition and Usage

The Enabled property is used to set or return whether the 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:


❮ Control Calendar Webpages Publish ❯