This topic has not yet been rated - Rate this topic

SelectListItem.Selected Property

Gets or sets a value that indicates whether this SelectListItem is selected.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public bool Selected { get; set; }

Property Value

Type: System.Boolean
true if the item is selected; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.