Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewCommandEventArgs.cs / 1305376 / GridViewCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// public class GridViewCommandEventArgs : CommandEventArgs { private GridViewRow _row; private object _commandSource; ///Provides data for some ///events. /// public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._row = row; this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { 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. ////// internal GridViewRow Row { get { return _row; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the row 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.Diagnostics.CodeAnalysis; ////// public class GridViewCommandEventArgs : CommandEventArgs { private GridViewRow _row; private object _commandSource; ///Provides data for some ///events. /// public GridViewCommandEventArgs(GridViewRow row, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this._row = row; this._commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] public GridViewCommandEventArgs(object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { 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. ////// internal GridViewRow Row { get { return _row; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the row 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
- CodeComment.cs
- AppSettingsSection.cs
- SqlMethodCallConverter.cs
- Part.cs
- QueryHandler.cs
- LongValidator.cs
- ManagementOperationWatcher.cs
- ExtensionFile.cs
- HttpResponseBase.cs
- StructuralObject.cs
- XamlFrame.cs
- MatrixIndependentAnimationStorage.cs
- OrCondition.cs
- GestureRecognitionResult.cs
- ObservableDictionary.cs
- DictionaryManager.cs
- PriorityRange.cs
- ThemeInfoAttribute.cs
- Bitmap.cs
- NoPersistProperty.cs
- ProfileModule.cs
- MaskInputRejectedEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- WindowClosedEventArgs.cs
- IsolatedStorageFile.cs
- ObjectSet.cs
- CodeDomExtensionMethods.cs
- LiteralControl.cs
- StringInfo.cs
- WpfMemberInvoker.cs
- ProviderIncompatibleException.cs
- TextProperties.cs
- MULTI_QI.cs
- GroupBoxRenderer.cs
- DataGridViewComboBoxColumn.cs
- AutomationPropertyChangedEventArgs.cs
- HandlerWithFactory.cs
- CodeDesigner.cs
- CompilationRelaxations.cs
- HyperLink.cs
- EditableTreeList.cs
- XmlSortKey.cs
- TickBar.cs
- ChannelCredentials.cs
- StyleTypedPropertyAttribute.cs
- ConnectionPoint.cs
- OleServicesContext.cs
- ZoneIdentityPermission.cs
- ProxyHelper.cs
- PropertyDescriptor.cs
- WSDualHttpBindingCollectionElement.cs
- AdornerHitTestResult.cs
- FloaterBaseParagraph.cs
- Connector.cs
- FormClosedEvent.cs
- Point3DAnimationBase.cs
- ContextMenuService.cs
- XPathNodeHelper.cs
- PipelineModuleStepContainer.cs
- ListViewCommandEventArgs.cs
- BamlResourceSerializer.cs
- SerialStream.cs
- HtmlForm.cs
- VisualStyleTypesAndProperties.cs
- SqlFileStream.cs
- LostFocusEventManager.cs
- AssemblyResourceLoader.cs
- XmlQueryContext.cs
- BorderGapMaskConverter.cs
- TriState.cs
- IgnoreSectionHandler.cs
- ContainerActivationHelper.cs
- ISessionStateStore.cs
- WindowsBrush.cs
- ItemAutomationPeer.cs
- TypeSystem.cs
- PrimaryKeyTypeConverter.cs
- ScriptReferenceBase.cs
- DatePickerDateValidationErrorEventArgs.cs
- ToolStripSystemRenderer.cs
- XmlAttributeCollection.cs
- DataRecordObjectView.cs
- StaticTextPointer.cs
- DeviceContext.cs
- GlyphRunDrawing.cs
- X509ClientCertificateCredentialsElement.cs
- CompositeClientFormatter.cs
- MetadataItem.cs
- JsonEncodingStreamWrapper.cs
- SqlParameter.cs
- ProxyGenerator.cs
- DocumentOrderComparer.cs
- DesignSurface.cs
- RuntimeConfig.cs
- ProtocolsConfigurationHandler.cs
- lengthconverter.cs
- MouseButtonEventArgs.cs
- BinaryObjectReader.cs
- DataGridViewCell.cs
- ConfigXmlAttribute.cs