Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataListCommandEventArgs : CommandEventArgs { private DataListItem item; private object commandSource; ///Provides data for the ///event of a . /// /// public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ///class. /// public DataListItem Item { get { return item; } } ///Gets the selected item in the ///. /// public object CommandSource { get { return commandSource; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets the source of the command. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataListCommandEventArgs : CommandEventArgs { private DataListItem item; private object commandSource; ///Provides data for the ///event of a . /// /// public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ///class. /// public DataListItem Item { get { return item; } } ///Gets the selected item in the ///. /// public object CommandSource { get { return commandSource; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets the source of the command. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpCookieCollection.cs
- SQLInt16Storage.cs
- DataServiceContext.cs
- CompiledXpathExpr.cs
- CustomExpressionEventArgs.cs
- FileCodeGroup.cs
- SuppressMergeCheckAttribute.cs
- KoreanLunisolarCalendar.cs
- MachineKeySection.cs
- ADConnectionHelper.cs
- HttpModuleAction.cs
- RuleValidation.cs
- SimpleApplicationHost.cs
- LinearQuaternionKeyFrame.cs
- TimeStampChecker.cs
- Quaternion.cs
- XmlHierarchicalDataSourceView.cs
- HttpPostedFileWrapper.cs
- TreeIterator.cs
- SymmetricKey.cs
- CodeArgumentReferenceExpression.cs
- DataGridViewCellPaintingEventArgs.cs
- TextBlock.cs
- PolygonHotSpot.cs
- CommunicationObjectFaultedException.cs
- ObjectDataSourceStatusEventArgs.cs
- CodeTypeReferenceExpression.cs
- EntityDataSourceSelectedEventArgs.cs
- XmlQueryContext.cs
- FlowDocumentPage.cs
- TraceUtility.cs
- WebPartDeleteVerb.cs
- MissingMethodException.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SiteMapNodeItem.cs
- Size.cs
- DataRow.cs
- DbTypeMap.cs
- DataServiceEntityAttribute.cs
- ChannelSinkStacks.cs
- FamilyMap.cs
- CommandEventArgs.cs
- CodeDOMUtility.cs
- ProviderCommandInfoUtils.cs
- SecurityKeyType.cs
- RequestQueryParser.cs
- OperatorExpressions.cs
- SessionStateContainer.cs
- Columns.cs
- ParallelEnumerable.cs
- TextLineResult.cs
- XsdBuilder.cs
- DesignerProperties.cs
- CommandLibraryHelper.cs
- ComplexLine.cs
- AuthenticationSection.cs
- AssociationTypeEmitter.cs
- WindowsGraphicsWrapper.cs
- SmtpNtlmAuthenticationModule.cs
- OutputCacheProfileCollection.cs
- DataGridViewEditingControlShowingEventArgs.cs
- PerformanceCounterPermissionEntryCollection.cs
- ConnectionStringSettingsCollection.cs
- InputReportEventArgs.cs
- StateManagedCollection.cs
- MDIControlStrip.cs
- PhysicalAddress.cs
- EmbeddedObject.cs
- TextRangeEditTables.cs
- ClaimSet.cs
- odbcmetadatafactory.cs
- VariableQuery.cs
- XmlJsonWriter.cs
- X509KeyIdentifierClauseType.cs
- mda.cs
- ValidationPropertyAttribute.cs
- SourceFileBuildProvider.cs
- PasswordDeriveBytes.cs
- PageTheme.cs
- XslCompiledTransform.cs
- NotifyIcon.cs
- ComponentDesigner.cs
- CachedFontFace.cs
- PerformanceCounterManager.cs
- WebPartZoneCollection.cs
- ToolStripDropDownItem.cs
- PointCollectionValueSerializer.cs
- ExpandableObjectConverter.cs
- _NegoStream.cs
- PageContent.cs
- NotImplementedException.cs
- HyperLinkStyle.cs
- SerializerProvider.cs
- DocumentOrderQuery.cs
- XPathItem.cs
- Point4D.cs
- PerfService.cs
- DBDataPermissionAttribute.cs
- PointCollection.cs
- RoutingTable.cs