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 / GridViewCommandEventArgs.cs / 1 / GridViewCommandEventArgs.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 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. /// 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.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. /// 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
- PinnedBufferMemoryStream.cs
- TreeNodeStyleCollection.cs
- SqlConnectionFactory.cs
- JulianCalendar.cs
- ParameterModifier.cs
- SQLSingle.cs
- X509ChainElement.cs
- AdjustableArrowCap.cs
- DebuggerAttributes.cs
- xmlformatgeneratorstatics.cs
- DataBoundLiteralControl.cs
- HMAC.cs
- Component.cs
- LinkConverter.cs
- EncodingNLS.cs
- ParseHttpDate.cs
- IteratorDescriptor.cs
- RijndaelCryptoServiceProvider.cs
- GeneralTransform3DTo2DTo3D.cs
- StylusCaptureWithinProperty.cs
- InternalBufferOverflowException.cs
- ToolStripContainer.cs
- Encoder.cs
- OdbcConnectionPoolProviderInfo.cs
- DnsPermission.cs
- DataChangedEventManager.cs
- JsonWriterDelegator.cs
- dataSvcMapFileLoader.cs
- DataControlButton.cs
- GacUtil.cs
- Region.cs
- TextChange.cs
- BooleanExpr.cs
- StringBuilder.cs
- Comparer.cs
- CodeDelegateCreateExpression.cs
- BuilderPropertyEntry.cs
- SectionRecord.cs
- BindingElement.cs
- RepeaterItem.cs
- DateTime.cs
- CodeEventReferenceExpression.cs
- DelegateSerializationHolder.cs
- Dispatcher.cs
- XslVisitor.cs
- SecUtil.cs
- AddInBase.cs
- HeaderFilter.cs
- Rule.cs
- TypeDescriptor.cs
- RightsManagementPermission.cs
- Int32KeyFrameCollection.cs
- SaveFileDialog.cs
- Bitmap.cs
- HistoryEventArgs.cs
- ColumnTypeConverter.cs
- _HeaderInfoTable.cs
- Base64Decoder.cs
- PropertyGridEditorPart.cs
- CodeDirectionExpression.cs
- MsmqHostedTransportManager.cs
- ISO2022Encoding.cs
- CodePageUtils.cs
- TextTreeFixupNode.cs
- SystemUnicastIPAddressInformation.cs
- MenuAutoFormat.cs
- PerfService.cs
- MetadataUtil.cs
- Italic.cs
- IDReferencePropertyAttribute.cs
- SafeArrayTypeMismatchException.cs
- FillBehavior.cs
- CustomTrackingRecord.cs
- ConnectionStringSettings.cs
- MDIControlStrip.cs
- AssemblyUtil.cs
- RenameRuleObjectDialog.Designer.cs
- StateFinalizationActivity.cs
- DataServiceContext.cs
- SqlUtil.cs
- GroupItem.cs
- WSDualHttpSecurityElement.cs
- PermissionSetTriple.cs
- FixedSOMImage.cs
- PaperSource.cs
- StrokeNodeData.cs
- MenuItemStyle.cs
- DetailsViewPageEventArgs.cs
- TimeZoneNotFoundException.cs
- IndentedWriter.cs
- StorageInfo.cs
- XamlSerializer.cs
- RedistVersionInfo.cs
- HMAC.cs
- DataGridViewCellFormattingEventArgs.cs
- TypeConverterHelper.cs
- CheckBoxPopupAdapter.cs
- UmAlQuraCalendar.cs
- XmlSchemaSimpleTypeUnion.cs
- Int32KeyFrameCollection.cs