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
- PrintDialog.cs
- ToolStripDropDown.cs
- AttributeTableBuilder.cs
- ControlValuePropertyAttribute.cs
- CodeBinaryOperatorExpression.cs
- XmlSubtreeReader.cs
- GenericXmlSecurityToken.cs
- WeakEventManager.cs
- MessageSmuggler.cs
- DataGridViewCellFormattingEventArgs.cs
- InvokeDelegate.cs
- DuplicateContext.cs
- ColumnMap.cs
- ToolStripSeparator.cs
- FontFamilyIdentifier.cs
- BufferedGraphics.cs
- JumpItem.cs
- XmlNamedNodeMap.cs
- SQLBoolean.cs
- ThaiBuddhistCalendar.cs
- AssociationType.cs
- TableLayout.cs
- _NegoState.cs
- StandardTransformFactory.cs
- SectionXmlInfo.cs
- DockProviderWrapper.cs
- AttributeEmitter.cs
- COM2IDispatchConverter.cs
- DrawListViewSubItemEventArgs.cs
- EntityKey.cs
- ParentUndoUnit.cs
- HttpCapabilitiesEvaluator.cs
- WebServiceTypeData.cs
- QualificationDataAttribute.cs
- GridView.cs
- PropertyExpression.cs
- RoleGroup.cs
- EpmContentDeSerializerBase.cs
- SpeakProgressEventArgs.cs
- DeviceContext2.cs
- PrtTicket_Public.cs
- TreeViewImageIndexConverter.cs
- altserialization.cs
- FileDialog_Vista_Interop.cs
- LinearKeyFrames.cs
- BindingEntityInfo.cs
- HttpCookiesSection.cs
- OracleBFile.cs
- Event.cs
- SqlWorkflowPersistenceService.cs
- AdapterUtil.cs
- DataControlButton.cs
- IncrementalReadDecoders.cs
- ControlPropertyNameConverter.cs
- SelectionHighlightInfo.cs
- SubtreeProcessor.cs
- DataListItem.cs
- GeometryHitTestParameters.cs
- DbgUtil.cs
- ContentControl.cs
- AspCompat.cs
- BuildProvidersCompiler.cs
- NavigationProgressEventArgs.cs
- SHA256Managed.cs
- TCPListener.cs
- RawUIStateInputReport.cs
- TextTreeRootTextBlock.cs
- SafeFindHandle.cs
- FieldAccessException.cs
- EntityType.cs
- CheckoutException.cs
- ObjectNotFoundException.cs
- MSAAEventDispatcher.cs
- MdiWindowListItemConverter.cs
- ManualResetEvent.cs
- ValidationSummaryDesigner.cs
- ProcessManager.cs
- TextBlockAutomationPeer.cs
- UIPermission.cs
- DeferredTextReference.cs
- SqlDataSourceSummaryPanel.cs
- XamlSerializerUtil.cs
- ConnectionManagementSection.cs
- ValidationErrorCollection.cs
- ManipulationStartingEventArgs.cs
- UrlMappingsSection.cs
- ConfigurationStrings.cs
- ConstraintEnumerator.cs
- PreviewPrintController.cs
- ToolStripContentPanel.cs
- SchemaNames.cs
- DataGridPagerStyle.cs
- XPathDocumentNavigator.cs
- DefaultCompensation.cs
- IntSecurity.cs
- EntityDataSourceSelectingEventArgs.cs
- UpdateCommand.cs
- ProviderIncompatibleException.cs
- Span.cs
- WebOperationContext.cs