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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









RepeaterCommandEventArgs

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

This class provides additional information for the
ItemCommand event of the
Repeater control, which occurs when a button in an
item is clicked. This additional information consists of a
Item property, which represents the repeater item
where the button is located, and a CommandSource
property, which refers to the button in the item that fired this
event. Before using the CommandSource property,
you will have to cast it to the appropriate type.

It may seem that the Repeater.ItemCommand event
provides more than one way to determine its source. However, these
references are not equivalent. The sender
parameter indicates the Repeater instance where
the event took place, while the Item property
specifies the item in the Repeater and the
CommandSource property identifies the specific
button in the item.

public sealed class 

RepeaterCommandEventArgs : CommandEventArgs {
// Public Constructors
public

RepeaterCommandEventArgs (RepeaterItem

item , object

commandSource , CommandEventArgs

originalArgs );
// Public Instance Properties
public object

CommandSource {get; }
public RepeaterItem

Item {get; }
}



Hierarchy


System.Object
System.EventArgs
CommandEventArgs
RepeaterCommandEventArgs

Passed To


Repeater.OnItemCommand( ),
RepeaterCommandEventHandler.{BeginInvoke( ),
Invoke( )}


/ 873