Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / DataListCommandEventArgs.cs / 1 / DataListCommandEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.Security.Permissions;
///
/// Provides data for the event of a .
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SymbolPair.cs
- DataGridViewSelectedColumnCollection.cs
- ClientRolePrincipal.cs
- ActivityExecutionFilter.cs
- _IPv6Address.cs
- EntityTypeEmitter.cs
- WebPartCloseVerb.cs
- XhtmlBasicObjectListAdapter.cs
- EnumerableRowCollectionExtensions.cs
- TabletDeviceInfo.cs
- ServiceModelSecurityTokenRequirement.cs
- OdbcCommandBuilder.cs
- TypedElement.cs
- TypeLibConverter.cs
- TableCell.cs
- RegexParser.cs
- InvalidEnumArgumentException.cs
- TypeSemantics.cs
- XmlResolver.cs
- ConfigurationStrings.cs
- OutputCacheProfileCollection.cs
- ClassicBorderDecorator.cs
- SQLMoney.cs
- StoryFragments.cs
- Size.cs
- DataGridHeaderBorder.cs
- DatePickerAutomationPeer.cs
- XslAstAnalyzer.cs
- DataKeyArray.cs
- XmlAttributes.cs
- HybridDictionary.cs
- KnownIds.cs
- SingleAnimationBase.cs
- PageWrapper.cs
- Library.cs
- Image.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- RestHandlerFactory.cs
- Message.cs
- RegularExpressionValidator.cs
- SamlAuthorityBinding.cs
- DataControlPagerLinkButton.cs
- HierarchicalDataSourceControl.cs
- TextEditorLists.cs
- ReadOnlyNameValueCollection.cs
- BaseAsyncResult.cs
- Config.cs
- ViewBase.cs
- ViewManager.cs
- PolicyImporterElementCollection.cs
- SchemeSettingElementCollection.cs
- WindowVisualStateTracker.cs
- ResourceWriter.cs
- CellQuery.cs
- ComboBoxRenderer.cs
- OutputCacheProfileCollection.cs
- ZipIOCentralDirectoryFileHeader.cs
- TempFiles.cs
- UIElement.cs
- AxHost.cs
- SoapObjectReader.cs
- TimelineGroup.cs
- CreateRefExpr.cs
- CodeAccessSecurityEngine.cs
- DbDataReader.cs
- ProtocolsConfigurationEntry.cs
- ClientProtocol.cs
- BaseParaClient.cs
- AssemblyResourceLoader.cs
- RegexBoyerMoore.cs
- DataControlFieldCollection.cs
- DesignerSerializationVisibilityAttribute.cs
- TaiwanCalendar.cs
- StdValidatorsAndConverters.cs
- MetaDataInfo.cs
- Icon.cs
- EventProviderWriter.cs
- SiteOfOriginContainer.cs
- CodeDomSerializer.cs
- ConnectionPoolManager.cs
- ToolStripDropDownClosingEventArgs.cs
- CrossSiteScriptingValidation.cs
- GridItem.cs
- ClientScriptManager.cs
- SEHException.cs
- SchemaTableColumn.cs
- ExpressionVisitorHelpers.cs
- WindowsEditBoxRange.cs
- CellTreeNodeVisitors.cs
- ServiceContractListItemList.cs
- GeometryGroup.cs
- XmlSerializerObjectSerializer.cs
- BigInt.cs
- HorizontalAlignConverter.cs
- Subtree.cs
- ByteAnimation.cs
- RenderData.cs
- SelectedDatesCollection.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Hex.cs