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
- Script.cs
- StorageMappingItemLoader.cs
- AssemblyContextControlItem.cs
- SoapEnumAttribute.cs
- QuaternionAnimation.cs
- Calendar.cs
- UnionCodeGroup.cs
- ClientRuntime.cs
- Exceptions.cs
- CompiledQuery.cs
- GenerateHelper.cs
- CapabilitiesState.cs
- SystemParameters.cs
- UnsafeNativeMethods.cs
- WebPartMenu.cs
- ConfigXmlElement.cs
- EditorPart.cs
- TreeNodeBindingDepthConverter.cs
- SafeCryptoKeyHandle.cs
- HttpsHostedTransportConfiguration.cs
- ToolStripRenderEventArgs.cs
- MetadataArtifactLoaderCompositeResource.cs
- BufferBuilder.cs
- XmlComplianceUtil.cs
- HtmlControlAdapter.cs
- FixedSOMLineCollection.cs
- OleDbTransaction.cs
- ArraySubsetEnumerator.cs
- CngUIPolicy.cs
- ServiceElement.cs
- TextBlockAutomationPeer.cs
- WSDualHttpBinding.cs
- SchemaMerger.cs
- HtmlElementCollection.cs
- TextServicesCompartmentContext.cs
- DataTableMappingCollection.cs
- WebPartAddingEventArgs.cs
- ResourcesGenerator.cs
- FileVersionInfo.cs
- EntityDataSourceEntityTypeFilterItem.cs
- Rijndael.cs
- QilXmlWriter.cs
- LayoutUtils.cs
- ProxyWebPartManager.cs
- EventHandlerList.cs
- FontEditor.cs
- DelegateSerializationHolder.cs
- NullExtension.cs
- SqlGenerator.cs
- MatrixCamera.cs
- DataFieldConverter.cs
- WebBrowserBase.cs
- WebContentFormatHelper.cs
- DSASignatureFormatter.cs
- SQLBinary.cs
- ControlIdConverter.cs
- MobileControlsSection.cs
- FileNotFoundException.cs
- ObfuscationAttribute.cs
- DataGridViewSortCompareEventArgs.cs
- XmlProcessingInstruction.cs
- HtmlInputFile.cs
- MethodToken.cs
- CqlErrorHelper.cs
- InvalidWMPVersionException.cs
- MultitargetUtil.cs
- ZipFileInfoCollection.cs
- HeaderedItemsControl.cs
- ListView.cs
- SchemaImporterExtensionsSection.cs
- SmiTypedGetterSetter.cs
- GlyphInfoList.cs
- FastEncoderWindow.cs
- DataGridViewCellStyleChangedEventArgs.cs
- OutOfProcStateClientManager.cs
- TableCell.cs
- WindowsListViewGroup.cs
- RegexInterpreter.cs
- WsatConfiguration.cs
- DefaultObjectMappingItemCollection.cs
- XPathPatternBuilder.cs
- Visitor.cs
- COM2Enum.cs
- PrintPreviewControl.cs
- ModelUIElement3D.cs
- EntityDataReader.cs
- SpnEndpointIdentity.cs
- DBConnectionString.cs
- WorkflowItemsPresenter.cs
- SkipQueryOptionExpression.cs
- SqlDataSourceConfigureFilterForm.cs
- ZoneMembershipCondition.cs
- unsafenativemethodstextservices.cs
- XpsLiterals.cs
- MenuItem.cs
- MetafileHeader.cs
- XamlTypeMapper.cs
- AutomationEventArgs.cs
- BufferBuilder.cs
- TextLineBreak.cs