SelectListItem::Group Property

 

Represents the optgroup HTML element this item is wrapped into. In a select list, multiple groups with the same name are supported. They are compared with reference equality.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
property SelectListGroup^ Group {
	SelectListGroup^ get();
	void set(SelectListGroup^ value);
}

Property Value

Type: System.Web.Mvc::SelectListGroup^
Return to top
Show: