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
- SplitContainer.cs
- PropertyGridView.cs
- ComponentConverter.cs
- RectAnimationBase.cs
- HtmlInputRadioButton.cs
- XmlDataImplementation.cs
- RequestCacheManager.cs
- XmlSiteMapProvider.cs
- AssemblyNameProxy.cs
- WrapperSecurityCommunicationObject.cs
- ServiceHostFactory.cs
- ProviderSettingsCollection.cs
- PublisherIdentityPermission.cs
- SystemInfo.cs
- COM2ComponentEditor.cs
- Win32.cs
- ToolboxCategoryItems.cs
- ClientConfigPaths.cs
- HandlerBase.cs
- DataListItemEventArgs.cs
- XMLSchema.cs
- TemplateContent.cs
- EntitySetBase.cs
- SQLMembershipProvider.cs
- MaskedTextBoxDesigner.cs
- Size.cs
- DecoderNLS.cs
- PlatformNotSupportedException.cs
- FormatterServices.cs
- DataControlReferenceCollection.cs
- KeyTimeConverter.cs
- RSAPKCS1SignatureFormatter.cs
- IChannel.cs
- SystemColors.cs
- CookielessHelper.cs
- MessageSmuggler.cs
- UriTemplateDispatchFormatter.cs
- GeometryDrawing.cs
- SequentialUshortCollection.cs
- TimeSpanOrInfiniteConverter.cs
- ViewRendering.cs
- XhtmlTextWriter.cs
- WindowsStatusBar.cs
- XmlText.cs
- SynchronizedKeyedCollection.cs
- LZCodec.cs
- ResourceAttributes.cs
- WebPartEventArgs.cs
- NetworkInterface.cs
- IRCollection.cs
- SafeNativeMethods.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- OrderedDictionary.cs
- FastPropertyAccessor.cs
- DataFormats.cs
- DaylightTime.cs
- ParserContext.cs
- ListItemCollection.cs
- SafeArrayTypeMismatchException.cs
- SocketInformation.cs
- ParamArrayAttribute.cs
- GiveFeedbackEventArgs.cs
- XmlLanguage.cs
- ButtonRenderer.cs
- DrawItemEvent.cs
- Point.cs
- AccessText.cs
- ProcessManager.cs
- AxHostDesigner.cs
- TemplateControlBuildProvider.cs
- MessageSmuggler.cs
- HttpHandlerActionCollection.cs
- TriggerCollection.cs
- ColorBlend.cs
- ViewUtilities.cs
- BuiltInExpr.cs
- DataColumnCollection.cs
- AssemblyInfo.cs
- ProfessionalColorTable.cs
- Filter.cs
- OleDbMetaDataFactory.cs
- DispatcherEventArgs.cs
- Menu.cs
- CatalogZoneBase.cs
- DbSourceParameterCollection.cs
- TypeDescriptionProviderAttribute.cs
- Transform3D.cs
- TextTreeInsertUndoUnit.cs
- MulticastIPAddressInformationCollection.cs
- SchemaLookupTable.cs
- SurrogateSelector.cs
- XmlCDATASection.cs
- IPAddress.cs
- Composition.cs
- SingleAnimationBase.cs
- GridErrorDlg.cs
- EntityProxyTypeInfo.cs
- XmlQualifiedName.cs
- safesecurityhelperavalon.cs
- SerializationException.cs