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
- RegionIterator.cs
- SqlBooleanizer.cs
- AnnotationService.cs
- Calendar.cs
- SqlMethodTransformer.cs
- InputChannel.cs
- SimpleMailWebEventProvider.cs
- ManagedFilter.cs
- Rectangle.cs
- MediaPlayerState.cs
- DeferredSelectedIndexReference.cs
- SapiRecoContext.cs
- CoreChannel.cs
- SafeHandle.cs
- WebPartMenu.cs
- ElementNotEnabledException.cs
- BlockCollection.cs
- ColumnMapCopier.cs
- XmlDataSourceDesigner.cs
- TextEditorTyping.cs
- SqlCacheDependencyDatabase.cs
- LinkDescriptor.cs
- MatrixConverter.cs
- UnicodeEncoding.cs
- SrgsElementFactoryCompiler.cs
- EdmProviderManifest.cs
- SimpleBitVector32.cs
- CalendarDesigner.cs
- SpecularMaterial.cs
- ToolStripSystemRenderer.cs
- UserControl.cs
- ConfigsHelper.cs
- SiteMapNodeItemEventArgs.cs
- CellRelation.cs
- TTSEngineProxy.cs
- HandoffBehavior.cs
- EntityCommandCompilationException.cs
- DataObjectAttribute.cs
- SmiConnection.cs
- EventItfInfo.cs
- ExtensibleClassFactory.cs
- ExecutionPropertyManager.cs
- MenuItem.cs
- Bitmap.cs
- IsolationInterop.cs
- CodeParameterDeclarationExpressionCollection.cs
- CodeTypeDeclarationCollection.cs
- HwndSource.cs
- Selection.cs
- DataGridViewColumnHeaderCell.cs
- FormViewDeleteEventArgs.cs
- MsmqAppDomainProtocolHandler.cs
- ForceCopyBuildProvider.cs
- SqlMultiplexer.cs
- DataGridViewRowConverter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Terminate.cs
- SoundPlayer.cs
- Semaphore.cs
- HttpModuleActionCollection.cs
- SliderAutomationPeer.cs
- ProfileManager.cs
- SamlAssertionKeyIdentifierClause.cs
- SHA1Managed.cs
- TableLayoutPanelCellPosition.cs
- ProfilePropertyNameValidator.cs
- SelectionItemPattern.cs
- ColumnCollection.cs
- TrustLevelCollection.cs
- AudioSignalProblemOccurredEventArgs.cs
- AxisAngleRotation3D.cs
- SuppressIldasmAttribute.cs
- RuntimeHandles.cs
- QuaternionAnimation.cs
- NativeWindow.cs
- XmlSchemaExporter.cs
- _TLSstream.cs
- Tuple.cs
- DLinqColumnProvider.cs
- Table.cs
- NavigationExpr.cs
- RegexCode.cs
- Funcletizer.cs
- SortFieldComparer.cs
- ObjectDataProvider.cs
- SegmentInfo.cs
- Configuration.cs
- UriExt.cs
- InheritanceUI.cs
- TreeViewItem.cs
- Viewport3DVisual.cs
- LoginViewDesigner.cs
- ChangeNode.cs
- ParenthesizePropertyNameAttribute.cs
- SafeEventLogReadHandle.cs
- TextServicesLoader.cs
- ServiceContractListItemList.cs
- IItemContainerGenerator.cs
- CursorConverter.cs
- ProcessModule.cs