Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSelectEventArgs.cs / 1 / GridViewSelectEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSelectEventArgs : CancelEventArgs { private int _newSelectedIndex; ///Provides data for /// the ////// event. /// public GridViewSelectEventArgs(int newSelectedIndex) { this._newSelectedIndex = newSelectedIndex; } ///Initializes a new instance of the ///class. /// public int NewSelectedIndex { get { return _newSelectedIndex; } set { _newSelectedIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets the index of the selected row to be displayed in the ///. /// This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSelectEventArgs : CancelEventArgs { private int _newSelectedIndex; ///Provides data for /// the ////// event. /// public GridViewSelectEventArgs(int newSelectedIndex) { this._newSelectedIndex = newSelectedIndex; } ///Initializes a new instance of the ///class. /// public int NewSelectedIndex { get { return _newSelectedIndex; } set { _newSelectedIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets the index of the selected row to be displayed in the ///. /// This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BroadcastEventHelper.cs
- DebugHandleTracker.cs
- XmlChildEnumerator.cs
- WebScriptEndpointElement.cs
- ListQueryResults.cs
- CacheMemory.cs
- FrameworkElement.cs
- PropertyChangingEventArgs.cs
- Overlapped.cs
- EntityDataSourceDesigner.cs
- _SslSessionsCache.cs
- TextServicesCompartment.cs
- RegexCaptureCollection.cs
- XamlWriter.cs
- OpCodes.cs
- SqlDataReaderSmi.cs
- ListViewInsertEventArgs.cs
- FacetValues.cs
- XNodeNavigator.cs
- DataGridViewLinkColumn.cs
- EnvelopeVersion.cs
- AsmxEndpointPickerExtension.cs
- SoapAttributeOverrides.cs
- ToolStripDropDownMenu.cs
- SchemaNotation.cs
- SmtpNegotiateAuthenticationModule.cs
- SetIterators.cs
- ServiceHostFactory.cs
- DynamicQueryStringParameter.cs
- TextTreeInsertElementUndoUnit.cs
- CompositeFontFamily.cs
- ProcessStartInfo.cs
- DecimalAnimationUsingKeyFrames.cs
- ListBase.cs
- ZoneLinkButton.cs
- OleDbPermission.cs
- Vector.cs
- DataSourceView.cs
- TabOrder.cs
- RegexWorker.cs
- FileDialog_Vista_Interop.cs
- regiisutil.cs
- DataGridCommandEventArgs.cs
- IDReferencePropertyAttribute.cs
- VideoDrawing.cs
- TiffBitmapDecoder.cs
- SetterBase.cs
- HttpException.cs
- ParentUndoUnit.cs
- DataMemberFieldConverter.cs
- Cursors.cs
- SqlFunctionAttribute.cs
- InstanceOwner.cs
- safesecurityhelperavalon.cs
- TaiwanLunisolarCalendar.cs
- AnnotationHelper.cs
- KeyManager.cs
- ProcessInfo.cs
- SizeIndependentAnimationStorage.cs
- TableRow.cs
- PromptBuilder.cs
- COM2FontConverter.cs
- DataControlFieldCell.cs
- ScriptingSectionGroup.cs
- ReflectPropertyDescriptor.cs
- WpfPayload.cs
- FixedLineResult.cs
- TableDesigner.cs
- Rectangle.cs
- SafeNativeMemoryHandle.cs
- XmlSchemaInferenceException.cs
- DesignerVerbCollection.cs
- ValidationError.cs
- SqlCommand.cs
- HtmlMeta.cs
- CompoundFileStreamReference.cs
- RenderingBiasValidation.cs
- WmlSelectionListAdapter.cs
- EncoderReplacementFallback.cs
- TypeContext.cs
- CollectionType.cs
- GenericRootAutomationPeer.cs
- RuleSettingsCollection.cs
- InputMethodStateTypeInfo.cs
- DetailsViewInsertEventArgs.cs
- PermissionListSet.cs
- MemberAssignment.cs
- XmlWrappingWriter.cs
- Logging.cs
- TransformerInfo.cs
- DataGridPagerStyle.cs
- StorageEntityTypeMapping.cs
- SizeConverter.cs
- ListBoxChrome.cs
- CustomValidator.cs
- ReadOnlyDataSourceView.cs
- ToolboxService.cs
- SecurityException.cs
- Console.cs
- DelegateTypeInfo.cs