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
- EntityParameterCollection.cs
- ConnectionPointCookie.cs
- GroupStyle.cs
- XmlUtil.cs
- SchemaImporter.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XPathNode.cs
- Section.cs
- ResourceDescriptionAttribute.cs
- StaticSiteMapProvider.cs
- EntityException.cs
- TemporaryBitmapFile.cs
- RequestCachingSection.cs
- SiteMapHierarchicalDataSourceView.cs
- EventLogEntry.cs
- WebSysDefaultValueAttribute.cs
- MarkupExtensionReturnTypeAttribute.cs
- BamlCollectionHolder.cs
- SurrogateSelector.cs
- XmlSchemaSet.cs
- WindowsGraphicsWrapper.cs
- KeyManager.cs
- ListViewItemSelectionChangedEvent.cs
- TraceHandlerErrorFormatter.cs
- GridPattern.cs
- OperationContextScope.cs
- graph.cs
- RemoveStoryboard.cs
- BaseDataList.cs
- CodeTypeDeclaration.cs
- WebBrowser.cs
- TextAction.cs
- ObjectTokenCategory.cs
- Size3DValueSerializer.cs
- SocketManager.cs
- PersonalizationProviderCollection.cs
- DataProviderNameConverter.cs
- DispatcherExceptionEventArgs.cs
- SqlNodeAnnotation.cs
- DragEvent.cs
- _NetRes.cs
- TickBar.cs
- _SecureChannel.cs
- WebCategoryAttribute.cs
- TypeToken.cs
- SizeChangedEventArgs.cs
- ParallelLoopState.cs
- DataGridItemCollection.cs
- CollectionConverter.cs
- PostBackTrigger.cs
- WebPartZoneBase.cs
- ServicesUtilities.cs
- BidOverLoads.cs
- RegionIterator.cs
- WebResponse.cs
- DatasetMethodGenerator.cs
- TypeFieldSchema.cs
- TextTreeExtractElementUndoUnit.cs
- EntityContainerEntitySetDefiningQuery.cs
- ListComponentEditorPage.cs
- BoundColumn.cs
- BaseTemplatedMobileComponentEditor.cs
- DataViewListener.cs
- InstallHelper.cs
- TransformerConfigurationWizardBase.cs
- TrackingMemoryStream.cs
- Size3DValueSerializer.cs
- PageCatalogPart.cs
- RefreshEventArgs.cs
- ReceiveDesigner.xaml.cs
- GridViewRowCollection.cs
- Soap12ServerProtocol.cs
- EntityContainerRelationshipSetEnd.cs
- RepeaterDataBoundAdapter.cs
- GeneralTransform.cs
- FormatterServicesNoSerializableCheck.cs
- TableRowGroupCollection.cs
- EntityDataSourceUtil.cs
- LessThan.cs
- ObjectDataSourceDisposingEventArgs.cs
- CompatibleIComparer.cs
- BrushConverter.cs
- VariantWrapper.cs
- RIPEMD160Managed.cs
- ProcessModuleCollection.cs
- MouseWheelEventArgs.cs
- DictionaryKeyPropertyAttribute.cs
- SequenceDesigner.xaml.cs
- ClientProxyGenerator.cs
- UIElement3D.cs
- DataControlFieldHeaderCell.cs
- TextEditorCharacters.cs
- MobileTextWriter.cs
- SendMailErrorEventArgs.cs
- ApplicationInterop.cs
- XmlSchemas.cs
- NoPersistScope.cs
- UnsafeNativeMethods.cs
- WebGetAttribute.cs
- ProcessStartInfo.cs