Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DataListCommandEventArgs.cs / 1305376 / DataListCommandEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
///
/// Provides data for the event of a .
///
///
public class DataListCommandEventArgs : CommandEventArgs {
private DataListItem item;
private object commandSource;
///
/// Initializes a new instance of the class.
///
public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this.item = item;
this.commandSource = commandSource;
}
///
/// Gets the selected item in the .
///
public DataListItem Item {
get {
return item;
}
}
///
/// Gets the source of the command.
///
public object CommandSource {
get {
return commandSource;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
///
/// Provides data for the event of a .
///
///
public class DataListCommandEventArgs : CommandEventArgs {
private DataListItem item;
private object commandSource;
///
/// Initializes a new instance of the class.
///
public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) {
this.item = item;
this.commandSource = commandSource;
}
///
/// Gets the selected item in the .
///
public DataListItem Item {
get {
return item;
}
}
///
/// Gets the source of the command.
///
public object CommandSource {
get {
return commandSource;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pts.cs
- DataGridViewSelectedColumnCollection.cs
- HorizontalAlignConverter.cs
- DataGridView.cs
- WebPartDisplayModeCollection.cs
- StyleSheetRefUrlEditor.cs
- Journaling.cs
- SizeIndependentAnimationStorage.cs
- Binding.cs
- FilterQuery.cs
- ManagementClass.cs
- AssemblyCollection.cs
- HtmlShim.cs
- MultipartContentParser.cs
- ColumnReorderedEventArgs.cs
- DesignerTransactionCloseEvent.cs
- PointConverter.cs
- DesignerDataStoredProcedure.cs
- _BasicClient.cs
- ClonableStack.cs
- HttpAsyncResult.cs
- TdsParserSafeHandles.cs
- SectionInformation.cs
- SerializationStore.cs
- TypeReference.cs
- DataGridGeneralPage.cs
- RawStylusInputCustomData.cs
- SystemMulticastIPAddressInformation.cs
- DesignerActionVerbItem.cs
- DataGridTextBox.cs
- MsmqAuthenticationMode.cs
- NonBatchDirectoryCompiler.cs
- Stylesheet.cs
- MaskedTextProvider.cs
- ListSourceHelper.cs
- PackageRelationship.cs
- BrowserDefinition.cs
- Types.cs
- DataRowComparer.cs
- CallbackTimeoutsElement.cs
- ExtensionQuery.cs
- TabletCollection.cs
- LineSegment.cs
- WindowsListView.cs
- SpinWait.cs
- Speller.cs
- SqlTypeConverter.cs
- EditorPart.cs
- XsltSettings.cs
- OleDbTransaction.cs
- IpcChannelHelper.cs
- DataContext.cs
- ReadOnlyDataSource.cs
- DataGridViewToolTip.cs
- TableItemStyle.cs
- RoleManagerModule.cs
- CodeGenerator.cs
- StickyNote.cs
- XpsFixedPageReaderWriter.cs
- AnnouncementInnerClientCD1.cs
- SuppressMessageAttribute.cs
- HostExecutionContextManager.cs
- DisplayInformation.cs
- ByteStorage.cs
- _CacheStreams.cs
- CompositeTypefaceMetrics.cs
- IDispatchConstantAttribute.cs
- Grant.cs
- Viewport3DVisual.cs
- WebPartCancelEventArgs.cs
- SQLBinary.cs
- BufferAllocator.cs
- PageFunction.cs
- UserPreferenceChangingEventArgs.cs
- MeshGeometry3D.cs
- GacUtil.cs
- PathFigureCollection.cs
- SHA1Managed.cs
- FileReservationCollection.cs
- ListViewItem.cs
- SqlNotificationRequest.cs
- LabelExpression.cs
- XmlAggregates.cs
- RadioButton.cs
- FormatSettings.cs
- SpanIndex.cs
- sitestring.cs
- DataBoundControlActionList.cs
- InheritedPropertyChangedEventArgs.cs
- MasterPageParser.cs
- CodeRemoveEventStatement.cs
- XmlnsDefinitionAttribute.cs
- UnauthorizedAccessException.cs
- EntityClassGenerator.cs
- translator.cs
- ITextView.cs
- WsatServiceCertificate.cs
- TimeStampChecker.cs
- CssClassPropertyAttribute.cs
- GlyphingCache.cs