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 / GridViewPageEventArgs.cs / 1 / GridViewPageEventArgs.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 GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the index of the first new page 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 GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the index of the first new page 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
- SelfIssuedAuthAsymmetricKey.cs
- DragAssistanceManager.cs
- TypeToken.cs
- SizeIndependentAnimationStorage.cs
- ApplicationContext.cs
- odbcmetadatacolumnnames.cs
- PointAnimationUsingPath.cs
- EnumType.cs
- xmlsaver.cs
- FilterEventArgs.cs
- ColorTransform.cs
- XmlEntityReference.cs
- NotCondition.cs
- ObjectListFieldsPage.cs
- MarkupObject.cs
- EventEntry.cs
- HebrewCalendar.cs
- TdsParserSessionPool.cs
- Globals.cs
- ListView.cs
- ObjectPropertyMapping.cs
- QilXmlReader.cs
- ColumnCollection.cs
- GACMembershipCondition.cs
- RectIndependentAnimationStorage.cs
- ZoneMembershipCondition.cs
- ping.cs
- XamlSerializerUtil.cs
- ViewStateAttachedPropertyFeature.cs
- DragCompletedEventArgs.cs
- FileAuthorizationModule.cs
- SqlNamer.cs
- MarshalByRefObject.cs
- HotCommands.cs
- InternalPermissions.cs
- CategoryGridEntry.cs
- RenderTargetBitmap.cs
- ChannelAcceptor.cs
- LinqDataSourceContextEventArgs.cs
- BigInt.cs
- WebHttpBinding.cs
- GlyphElement.cs
- ToolStripItemClickedEventArgs.cs
- DataGridClipboardCellContent.cs
- LogEntry.cs
- SelectionBorderGlyph.cs
- Dynamic.cs
- LazyTextWriterCreator.cs
- embossbitmapeffect.cs
- WorkflowTerminatedException.cs
- Timer.cs
- QuestionEventArgs.cs
- JoinSymbol.cs
- RuntimeResourceSet.cs
- BlobPersonalizationState.cs
- MsmqIntegrationInputChannel.cs
- DataGridViewColumnEventArgs.cs
- HtmlGenericControl.cs
- CodeObject.cs
- TimelineCollection.cs
- RelatedImageListAttribute.cs
- DPTypeDescriptorContext.cs
- GenericTypeParameterBuilder.cs
- DrawListViewColumnHeaderEventArgs.cs
- CommandLineParser.cs
- SystemColorTracker.cs
- EventLogTraceListener.cs
- oledbconnectionstring.cs
- BamlRecordWriter.cs
- SiteMapNode.cs
- SQLSingleStorage.cs
- XsdDataContractExporter.cs
- Pkcs7Signer.cs
- InternalBufferOverflowException.cs
- DriveNotFoundException.cs
- WebPartPersonalization.cs
- AutomationAttributeInfo.cs
- SizeFConverter.cs
- GlyphRunDrawing.cs
- SafeFileMappingHandle.cs
- figurelengthconverter.cs
- TcpDuplicateContext.cs
- Function.cs
- DeploymentSection.cs
- SolidColorBrush.cs
- MsmqChannelFactory.cs
- ExtendedPropertyDescriptor.cs
- OdbcConnectionString.cs
- CursorConverter.cs
- CharAnimationBase.cs
- TextRenderer.cs
- KoreanCalendar.cs
- ManagementScope.cs
- IdleTimeoutMonitor.cs
- Constant.cs
- MouseGesture.cs
- PerformanceCounterManager.cs
- SecurityTokenValidationException.cs
- LinqDataSourceHelper.cs
- RegexCharClass.cs