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
- Assert.cs
- SeverityFilter.cs
- ObjectDataSourceSelectingEventArgs.cs
- TraceEventCache.cs
- SafeHandles.cs
- ResourceDescriptionAttribute.cs
- StyleSheetDesigner.cs
- Convert.cs
- TextContainerChangedEventArgs.cs
- XPathNavigator.cs
- ExpandableObjectConverter.cs
- ScaleTransform.cs
- RelationshipFixer.cs
- ThaiBuddhistCalendar.cs
- XD.cs
- PenCursorManager.cs
- MimeFormatExtensions.cs
- SecureUICommand.cs
- SecurityTokenSerializer.cs
- SplayTreeNode.cs
- OleDbError.cs
- ParallelQuery.cs
- SuppressMessageAttribute.cs
- TouchEventArgs.cs
- StrongNameMembershipCondition.cs
- GeneralTransform.cs
- DataServiceSaveChangesEventArgs.cs
- VersionedStreamOwner.cs
- FontUnit.cs
- InputBindingCollection.cs
- BaseUriWithWildcard.cs
- AppDomainEvidenceFactory.cs
- DllNotFoundException.cs
- parserscommon.cs
- StreamAsIStream.cs
- SqlClientFactory.cs
- BrowserCapabilitiesFactory.cs
- SecurityRuntime.cs
- BufferModeSettings.cs
- ActivityInfo.cs
- VirtualizedItemPattern.cs
- FirstMatchCodeGroup.cs
- AttributeEmitter.cs
- Label.cs
- DataGridViewControlCollection.cs
- ExtendLockCommand.cs
- ACL.cs
- DecimalAnimation.cs
- BitmapDownload.cs
- EdgeModeValidation.cs
- ParallelEnumerable.cs
- InternalCache.cs
- MonitorWrapper.cs
- BrushMappingModeValidation.cs
- SearchForVirtualItemEventArgs.cs
- webproxy.cs
- ProxyFragment.cs
- ErrorHandler.cs
- DateTimeParse.cs
- HostVisual.cs
- parserscommon.cs
- ToolStripDropDownMenu.cs
- DataObjectEventArgs.cs
- PersistenceParticipant.cs
- DataGridViewSelectedCellCollection.cs
- WebPartEventArgs.cs
- DesignBindingEditor.cs
- OpacityConverter.cs
- WebHttpEndpointElement.cs
- SymbolPair.cs
- DataConnectionHelper.cs
- BrushConverter.cs
- X509AsymmetricSecurityKey.cs
- _OSSOCK.cs
- PageStatePersister.cs
- FlowThrottle.cs
- XPathItem.cs
- EntityContainer.cs
- coordinator.cs
- ListItemParagraph.cs
- SimpleNameService.cs
- _Rfc2616CacheValidators.cs
- WinEventTracker.cs
- DataRelationCollection.cs
- Int32CollectionValueSerializer.cs
- StateRuntime.cs
- EventMappingSettingsCollection.cs
- ProviderCollection.cs
- ObjectDisposedException.cs
- BinaryObjectInfo.cs
- ObjectContext.cs
- Vars.cs
- FrugalList.cs
- HttpServerUtilityBase.cs
- PermissionListSet.cs
- DateTimeConverter.cs
- Int32Rect.cs
- PropertyChangingEventArgs.cs
- Header.cs
- SelectionItemPattern.cs