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
- SqlDataSourceSummaryPanel.cs
- COM2IDispatchConverter.cs
- ConnectionStringsExpressionBuilder.cs
- TranslateTransform3D.cs
- OleDbParameterCollection.cs
- ScrollItemPattern.cs
- TextDocumentView.cs
- ElementHostAutomationPeer.cs
- BinaryUtilClasses.cs
- SchemaImporter.cs
- QueueProcessor.cs
- ObjectConverter.cs
- Operator.cs
- URLMembershipCondition.cs
- SqlPersonalizationProvider.cs
- ClientProxyGenerator.cs
- QilXmlReader.cs
- LinqMaximalSubtreeNominator.cs
- ClosableStream.cs
- MsmqReceiveParameters.cs
- CatalogPartCollection.cs
- SHA1Managed.cs
- SrgsGrammarCompiler.cs
- SHA512Managed.cs
- SrgsRuleRef.cs
- MultiSelector.cs
- FixedPageAutomationPeer.cs
- PlanCompiler.cs
- RectConverter.cs
- MergeFilterQuery.cs
- GridViewUpdatedEventArgs.cs
- OutputCacheSettings.cs
- SharedPersonalizationStateInfo.cs
- XPathDocument.cs
- RepeatInfo.cs
- AutomationElement.cs
- COM2PropertyDescriptor.cs
- CultureMapper.cs
- HGlobalSafeHandle.cs
- PreApplicationStartMethodAttribute.cs
- BindingElementExtensionElement.cs
- NodeFunctions.cs
- LinearGradientBrush.cs
- ImageBrush.cs
- Binding.cs
- QilUnary.cs
- NameValuePermission.cs
- FilterEventArgs.cs
- XPathException.cs
- MediaTimeline.cs
- DataControlPagerLinkButton.cs
- SafePEFileHandle.cs
- HandlerWithFactory.cs
- QilChoice.cs
- EmptyCollection.cs
- ModuleBuilder.cs
- ResolveMatchesMessageCD1.cs
- WizardPanelChangingEventArgs.cs
- DependencySource.cs
- Matrix3D.cs
- ScriptManagerProxy.cs
- AccessedThroughPropertyAttribute.cs
- VBIdentifierDesigner.xaml.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- MemberDescriptor.cs
- BooleanAnimationUsingKeyFrames.cs
- ObjectConverter.cs
- Rule.cs
- HostExecutionContextManager.cs
- FontDriver.cs
- EmbeddedMailObjectCollectionEditor.cs
- DocumentOrderQuery.cs
- XmlBinaryWriterSession.cs
- SchemaImporterExtensionElement.cs
- SiteMapDataSourceView.cs
- wgx_commands.cs
- Page.cs
- SafeEventLogWriteHandle.cs
- AccessViolationException.cs
- BamlResourceSerializer.cs
- BigInt.cs
- SingleAnimation.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- FormsAuthenticationConfiguration.cs
- AtomEntry.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- WebPartMenuStyle.cs
- DbConnectionStringBuilder.cs
- Int64Animation.cs
- IdentityNotMappedException.cs
- SecurityPermission.cs
- SortQueryOperator.cs
- SamlAuthenticationStatement.cs
- MeasurementDCInfo.cs
- StrongName.cs
- D3DImage.cs
- Sql8ExpressionRewriter.cs
- HttpClientCertificate.cs
- Crypto.cs
- FilterException.cs