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
- CounterSample.cs
- ZipIORawDataFileBlock.cs
- ChangeInterceptorAttribute.cs
- HtmlToClrEventProxy.cs
- XmlDataSourceView.cs
- BitmapEffectGroup.cs
- BulletChrome.cs
- LinkedResource.cs
- PageStatePersister.cs
- ExpressionUtilities.cs
- XmlSerializationWriter.cs
- RuntimeArgumentHandle.cs
- DataColumn.cs
- ConfigurationConverterBase.cs
- CanonicalFormWriter.cs
- SerializationObjectManager.cs
- GuidTagList.cs
- DataPointer.cs
- ValueExpressions.cs
- RegionData.cs
- Math.cs
- _SslSessionsCache.cs
- CompatibleIComparer.cs
- RequestSecurityTokenForGetBrowserToken.cs
- SafePEFileHandle.cs
- FilteredDataSetHelper.cs
- ListViewGroupConverter.cs
- XmlParser.cs
- Oid.cs
- ColumnBinding.cs
- BStrWrapper.cs
- SystemIPv4InterfaceProperties.cs
- MsmqBindingFilter.cs
- ToolStrip.cs
- ByteStorage.cs
- AddInController.cs
- StorageBasedPackageProperties.cs
- Adorner.cs
- DBCommandBuilder.cs
- PerformanceCounterManager.cs
- AddInProcess.cs
- IEnumerable.cs
- PropertyNames.cs
- CommandPlan.cs
- AssociationType.cs
- UIPropertyMetadata.cs
- SoundPlayer.cs
- EntryPointNotFoundException.cs
- CommonBehaviorsSection.cs
- TextElementCollection.cs
- HtmlHead.cs
- panel.cs
- ObjectAssociationEndMapping.cs
- DataServiceConfiguration.cs
- CaseInsensitiveOrdinalStringComparer.cs
- UnwrappedTypesXmlSerializerManager.cs
- RectangleHotSpot.cs
- EdmMember.cs
- BufferedReceiveManager.cs
- WebServicesDescriptionAttribute.cs
- DateTimeFormatInfoScanner.cs
- SrgsElement.cs
- PolyQuadraticBezierSegment.cs
- RemotingClientProxy.cs
- HandlerBase.cs
- NativeObjectSecurity.cs
- XamlReaderHelper.cs
- DependencyPropertyDescriptor.cs
- CalendarButton.cs
- KeyEvent.cs
- PropertyValueChangedEvent.cs
- RuleSet.cs
- MemberAccessException.cs
- loginstatus.cs
- IndexedEnumerable.cs
- WebProxyScriptElement.cs
- AccessText.cs
- RadioButton.cs
- bindurihelper.cs
- CheckBoxBaseAdapter.cs
- AuthStoreRoleProvider.cs
- SafeViewOfFileHandle.cs
- BeginEvent.cs
- MdImport.cs
- IOThreadTimer.cs
- QueueSurrogate.cs
- ChangeProcessor.cs
- SpAudioStreamWrapper.cs
- PieceNameHelper.cs
- ProviderBase.cs
- QilGeneratorEnv.cs
- BindUriHelper.cs
- Subtract.cs
- NotifyCollectionChangedEventArgs.cs
- LoginStatusDesigner.cs
- SerializationSectionGroup.cs
- EntityCommandExecutionException.cs
- ComEventsMethod.cs
- XmlWellformedWriter.cs
- PrincipalPermission.cs