ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 602
نمايش فراداده

ListSelectTypeserializable

System.Web.UI.MobileControls (system.web.mobile.dll)enum

This enumeration is used in conjunction with the SelectionList.IsMultiSelect property. It allows you to define how the list should be rendered. Several styles are supported, depending on the device. If you need multi-select capability, you can use the CheckBox or MultipleSelectionListBox style. If you want a single-select list, you can use DropDown, ListBox, or Radio.

public enum 

ListSelectType {

DropDown = 0 ,

ListBox = 1 ,

Radio = 2 ,

MultiSelectListBox = 3 ,

CheckBox = 4 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ListSelectType

Returned By

SelectionList.SelectType

Passed To

SelectionList.SelectType