Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ //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.Gets the source of the command. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompiledQueryCacheKey.cs
- XPathSelectionIterator.cs
- FileDialogPermission.cs
- XmlHierarchicalEnumerable.cs
- CommandManager.cs
- ProxyFragment.cs
- ContentOperations.cs
- StylusLogic.cs
- ContextMarshalException.cs
- VirtualizedItemPattern.cs
- SqlBulkCopy.cs
- _CookieModule.cs
- LinkedResource.cs
- XPathSelectionIterator.cs
- HitTestParameters.cs
- InternalRelationshipCollection.cs
- X509Certificate.cs
- ObjectHandle.cs
- RegionIterator.cs
- StringConverter.cs
- DrawingGroup.cs
- FamilyMapCollection.cs
- RijndaelCryptoServiceProvider.cs
- MemberDomainMap.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ValidationRule.cs
- KeyInterop.cs
- Win32SafeHandles.cs
- TextParagraphCache.cs
- MessageProtectionOrder.cs
- VectorKeyFrameCollection.cs
- DbConnectionHelper.cs
- WebPartConnectionsCancelVerb.cs
- PropertyMap.cs
- InProcStateClientManager.cs
- ControlDesigner.cs
- ExpressionBindingCollection.cs
- ClientReliableChannelBinder.cs
- SyndicationDeserializer.cs
- CommandBinding.cs
- DocumentViewer.cs
- ConnectionConsumerAttribute.cs
- ReplacementText.cs
- PathGradientBrush.cs
- Utility.cs
- PEFileEvidenceFactory.cs
- SqlInternalConnection.cs
- XmlSchemaCollection.cs
- HostProtectionPermission.cs
- wmiprovider.cs
- DocumentPaginator.cs
- HeaderFilter.cs
- Win32.cs
- SqlBulkCopy.cs
- _DigestClient.cs
- TempFiles.cs
- DescriptionAttribute.cs
- ConfigurationStrings.cs
- DataMisalignedException.cs
- ObjectContext.cs
- TypeResolvingOptionsAttribute.cs
- UriParserTemplates.cs
- ParentUndoUnit.cs
- DrawingCollection.cs
- NativeMethods.cs
- basecomparevalidator.cs
- DbProviderFactoriesConfigurationHandler.cs
- FrameworkElement.cs
- DataControlFieldCell.cs
- Version.cs
- TypeDescriptorFilterService.cs
- TokenizerHelper.cs
- DebugControllerThread.cs
- Stylesheet.cs
- VectorConverter.cs
- PropertyIdentifier.cs
- ScrollContentPresenter.cs
- LineServicesRun.cs
- Merger.cs
- FlowchartSizeFeature.cs
- EntityDataSource.cs
- WebPartConnection.cs
- EditorZoneBase.cs
- TextBlock.cs
- PropertyGridView.cs
- ExpressionConverter.cs
- ProcessHostMapPath.cs
- GridItemPatternIdentifiers.cs
- COM2AboutBoxPropertyDescriptor.cs
- KeyInterop.cs
- ConvertersCollection.cs
- StringToken.cs
- CalendarDay.cs
- KnownBoxes.cs
- SchemaCollectionPreprocessor.cs
- ColumnResizeUndoUnit.cs
- EntityViewGenerationAttribute.cs
- Registry.cs
- StorageFunctionMapping.cs
- DateTimeHelper.cs