ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







ListItem

noshade="true" align="left" color="black">
System.Web.UI.WebControls (system.web.dll)sealed class

This class represents an individual item from the list of a
ListControl, such as
CheckBoxList, DropDownList,
RadioButtonList, and ListBox.
The Text property returns the text for the list
item, the Value property returns the contents of
the "hidden" value attribute, and
the Selected property indicates whether or not it
is currently selected, which is useful for list controls that allow
multiple selections.

public sealed class 

ListItem : System.Web.UI.IStateManager, System.Web.UI.IParserAccessor,
System.Web.UI.IAttributeAccessor {
// Public Constructors
public

ListItem ( );
public

ListItem (string

text );
public

ListItem (string

text , string

value );
// Public Instance Properties
public AttributeCollection

Attributes {get; }
public bool

Selected {set; get; }
public string

Text {set; get; }
public string

Value {set; get; }
// Public Static Methods
public static ListItem

FromString (string

s );
// Public Instance Methods
public override bool

Equals (object

o ); // overrides object
public override int

GetHashCode ( ); // overrides object
public override string

ToString ( ); // overrides object
}



Returned By


ListControl.SelectedItem,
ListItemCollection.{FindByText( ),
FindByValue( ), this}

Passed To


ListItemCollection.{Add( ), AddRange(
)
, Contains( ), IndexOf(
)
, Insert( ), Remove(
)}

/ 873