Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridCommandEventArgs.cs / 1 / DataGridCommandEventArgs.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 DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the item in the ///that was clicked. This property is read-only. // 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 DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the item in the ///that was clicked. This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcPermission.cs
- ObjectDataSourceDisposingEventArgs.cs
- WebPartTransformerAttribute.cs
- FormViewRow.cs
- DeploymentExceptionMapper.cs
- FontUnit.cs
- HostExecutionContextManager.cs
- RuntimeHelpers.cs
- KernelTypeValidation.cs
- CustomErrorsSectionWrapper.cs
- PolyLineSegmentFigureLogic.cs
- ProjectionCamera.cs
- ImageBrush.cs
- ProviderCollection.cs
- WindowsGraphicsCacheManager.cs
- SerializationInfo.cs
- ManifestResourceInfo.cs
- RelatedImageListAttribute.cs
- DiscoveryService.cs
- ItemMap.cs
- WindowsToolbarAsMenu.cs
- SecurityRuntime.cs
- ListCollectionView.cs
- CodeIterationStatement.cs
- TimeZoneInfo.cs
- XmlTypeMapping.cs
- ListViewDesigner.cs
- CodeTypeOfExpression.cs
- EncryptedType.cs
- TableLayoutPanelCellPosition.cs
- SizeAnimation.cs
- PriorityBindingExpression.cs
- SamlAuthenticationStatement.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- EntityAdapter.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- DesignOnlyAttribute.cs
- DiscoveryExceptionDictionary.cs
- TaskFileService.cs
- Thread.cs
- SelectedDatesCollection.cs
- NativeObjectSecurity.cs
- SystemInformation.cs
- AnnotationHelper.cs
- XmlSchemaDatatype.cs
- AttachmentService.cs
- DataReaderContainer.cs
- CodeCompileUnit.cs
- WebBrowserBase.cs
- X500Name.cs
- EntityDataSourceUtil.cs
- OleDbWrapper.cs
- wgx_exports.cs
- SweepDirectionValidation.cs
- ResXFileRef.cs
- OrderedDictionaryStateHelper.cs
- ContractAdapter.cs
- EventToken.cs
- Rule.cs
- XmlException.cs
- StateFinalizationActivity.cs
- UnmanagedMemoryStreamWrapper.cs
- RegexWriter.cs
- QuaternionAnimation.cs
- DataGridColumnCollection.cs
- WmlMobileTextWriter.cs
- UnauthorizedWebPart.cs
- IconHelper.cs
- Control.cs
- QueueProcessor.cs
- DeadCharTextComposition.cs
- TypeBuilder.cs
- UriWriter.cs
- SqlHelper.cs
- EnumDataContract.cs
- ProfileModule.cs
- ActivityXRefPropertyEditor.cs
- ListBoxItemAutomationPeer.cs
- Unit.cs
- ObjectDataSourceWizardForm.cs
- OrderedHashRepartitionStream.cs
- PointHitTestParameters.cs
- DataGridViewLayoutData.cs
- PlainXmlWriter.cs
- EndpointIdentityConverter.cs
- ServicesUtilities.cs
- DataBoundControlAdapter.cs
- UrlPath.cs
- ElementsClipboardData.cs
- FrameworkContentElementAutomationPeer.cs
- HttpInputStream.cs
- UiaCoreApi.cs
- DataGridViewCellLinkedList.cs
- BevelBitmapEffect.cs
- DependencyPropertyValueSerializer.cs
- XLinq.cs
- AggregatePushdown.cs
- DesignerLoader.cs
- EditingScopeUndoUnit.cs
- ReliableMessagingVersion.cs