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
- HtmlWindowCollection.cs
- TransactionException.cs
- BoundColumn.cs
- XPathExpr.cs
- SizeAnimationBase.cs
- Config.cs
- Thickness.cs
- CompositeScriptReference.cs
- HyperLinkStyle.cs
- FileDialog.cs
- ToolBarPanel.cs
- WpfSharedBamlSchemaContext.cs
- Currency.cs
- CookieParameter.cs
- EntitySqlQueryState.cs
- TransformerTypeCollection.cs
- RegexMatch.cs
- XsltLibrary.cs
- AssemblyFilter.cs
- SafeTokenHandle.cs
- CommentAction.cs
- SymbolMethod.cs
- ModelEditingScope.cs
- _Rfc2616CacheValidators.cs
- XmlBoundElement.cs
- AsyncStreamReader.cs
- EntityViewGenerator.cs
- MimeAnyImporter.cs
- CodeTypeDelegate.cs
- ConstructorBuilder.cs
- MonitorWrapper.cs
- ConfigurationManagerInternalFactory.cs
- SessionSwitchEventArgs.cs
- HtmlTextArea.cs
- OleDbInfoMessageEvent.cs
- PersonalizableAttribute.cs
- sqlinternaltransaction.cs
- NavigationPropertyEmitter.cs
- SchemaCreator.cs
- ScriptControlManager.cs
- ListViewHitTestInfo.cs
- BamlTreeNode.cs
- Pkcs7Signer.cs
- Converter.cs
- PerCallInstanceContextProvider.cs
- AttachedPropertyDescriptor.cs
- StatusBarItem.cs
- ListBindableAttribute.cs
- ListControl.cs
- BehaviorEditorPart.cs
- IdentityModelDictionary.cs
- XmlEncodedRawTextWriter.cs
- XmlSchemaSimpleTypeUnion.cs
- PerformanceCounterPermissionAttribute.cs
- XmlNamespaceMappingCollection.cs
- SqlRowUpdatedEvent.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- Drawing.cs
- Point3DAnimationUsingKeyFrames.cs
- StreamReader.cs
- QuaternionRotation3D.cs
- coordinatorscratchpad.cs
- AuthenticateEventArgs.cs
- XXXInfos.cs
- SortableBindingList.cs
- WeakReference.cs
- StatusBarDrawItemEvent.cs
- DetailsViewInsertedEventArgs.cs
- unsafeIndexingFilterStream.cs
- TableDetailsCollection.cs
- ObjectDataSourceChooseMethodsPanel.cs
- TrustManagerMoreInformation.cs
- DataGridState.cs
- HttpErrorTraceRecord.cs
- EntitySqlQueryState.cs
- FormParameter.cs
- CreateUserWizardStep.cs
- ExpressionParser.cs
- SuppressIldasmAttribute.cs
- AccessViolationException.cs
- XamlBrushSerializer.cs
- VoiceChangeEventArgs.cs
- CodeDelegateCreateExpression.cs
- ValidateNames.cs
- Stackframe.cs
- PipelineModuleStepContainer.cs
- NamespaceMapping.cs
- HashCodeCombiner.cs
- IncrementalCompileAnalyzer.cs
- SelectionWordBreaker.cs
- MaterialGroup.cs
- FixedTextSelectionProcessor.cs
- FastPropertyAccessor.cs
- SmiContext.cs
- ReflectionHelper.cs
- JobPageOrder.cs
- ObjectItemCachedAssemblyLoader.cs
- TargetPerspective.cs
- CompositeDataBoundControl.cs
- oledbconnectionstring.cs