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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









MobileListItem.NET 1.1, disposable

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

The MobileListItem pepresents an individual item
in a List or SelectionList
control. You can iterate through a collection of all the
MobileListItem instances in the list using the
control's Items collection. In
addition, some events (like List.ItemCommand and
List.ItemDataBind) provide a
MobileListItem instance that identifies the
appropriate item in the list.

You can determine whether or not an item is selected using the
Selected property. In addition, you can retrieve
the text for the list item (Text and
Value), and if the item is data-bound, you can
retrieve the corresponding data object (DataItem).

public class 

MobileListItem : TemplateContainer, System.Web.UI.IStateManager {
// Public Constructors
public

MobileListItem ( );
public

MobileListItem (MobileListItemType

itemType );
public

MobileListItem (object

dataItem , string

text , string

value );
public

MobileListItem (string

text );
public

MobileListItem (string

text , string

value );
// Public Instance Properties
public object

DataItem {set; get; }
public int

Index {get; }
public bool

Selected {set; get; }
public string

Text {set; get; }
public string

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

FromString (string

s );
public static implicit operator

MobileListItem (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
// Protected Instance Methods
protected override bool

OnBubbleEvent (object

source , EventArgs

e );// overrides System.Web.UI.Control
}



Hierarchy


System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable
,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)

MobileControl(System.Web.UI.IAttributeAccessor)
Panel(ITemplateable)
TemplateContainer(System.Web.UI.INamingContainer)

MobileListItem(System.Web.UI.IStateManager)

Subclasses


ObjectListItem

Returned By


ListCommandEventArgs.ListItem,
ListDataBindEventArgs.ListItem,
MobileListItemCollection.{GetAll( ),
this}, SelectionList.Selection

Passed To


ListCommandEventArgs.ListCommandEventArgs( ),
ListDataBindEventArgs.ListDataBindEventArgs( ),
MobileListItemCollection.{Add( ),
Contains( ), IndexOf( ),
Insert( ), Remove( ),
SetAll( )}


/ 873