Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewPageEventArgs.cs / 1305376 / GridViewPageEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
///
/// Provides data for
/// the
/// event.
///
public class GridViewPageEventArgs : CancelEventArgs {
private int _newPageIndex;
///
/// Initializes a new instance of the class.
///
public GridViewPageEventArgs(int newPageIndex) {
this._newPageIndex = newPageIndex;
}
///
/// Gets the index of the first new page to be displayed in the .
/// This property is read-only.
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpWebResponse.cs
- ZoneMembershipCondition.cs
- PropertyGridCommands.cs
- OperandQuery.cs
- SqlColumnizer.cs
- FontStretch.cs
- BamlLocalizer.cs
- CompilerWrapper.cs
- PageThemeBuildProvider.cs
- AnimationException.cs
- AudioSignalProblemOccurredEventArgs.cs
- DbConnectionHelper.cs
- Oci.cs
- DataComponentMethodGenerator.cs
- Light.cs
- ApplicationGesture.cs
- SectionUpdates.cs
- remotingproxy.cs
- TemplateNodeContextMenu.cs
- EntityKeyElement.cs
- Constants.cs
- figurelength.cs
- StorageEntitySetMapping.cs
- DataGridCell.cs
- LassoHelper.cs
- SqlParameterCollection.cs
- WebServiceHandlerFactory.cs
- PermissionSetTriple.cs
- OleDbReferenceCollection.cs
- UnauthorizedWebPart.cs
- UserControl.cs
- SafeSecurityHandles.cs
- CodeAttributeArgument.cs
- ColumnHeader.cs
- XmlSchemaAttribute.cs
- EventSourceCreationData.cs
- XmlSchemaObject.cs
- ProfileProvider.cs
- DecoratedNameAttribute.cs
- CqlGenerator.cs
- ThreadAbortException.cs
- OracleConnectionFactory.cs
- SamlConditions.cs
- ObjectPersistData.cs
- IncrementalCompileAnalyzer.cs
- LogAppendAsyncResult.cs
- Utils.cs
- Point3D.cs
- PriorityBindingExpression.cs
- FixedDocumentSequencePaginator.cs
- DoubleStorage.cs
- ArrayElementGridEntry.cs
- Paragraph.cs
- CodeTypeDelegate.cs
- LocatorManager.cs
- PointLight.cs
- RichTextBox.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- sqlnorm.cs
- GlyphManager.cs
- Delay.cs
- RadioButton.cs
- VirtualDirectoryMapping.cs
- UrlPropertyAttribute.cs
- uribuilder.cs
- XmlEventCache.cs
- ReservationCollection.cs
- IndexedString.cs
- EntityCodeGenerator.cs
- IApplicationTrustManager.cs
- ResolveCriteriaCD1.cs
- _AcceptOverlappedAsyncResult.cs
- TextSelection.cs
- TimeZone.cs
- AssemblyNameProxy.cs
- TraceSection.cs
- CornerRadiusConverter.cs
- RequestResponse.cs
- ProfilePropertyNameValidator.cs
- PolyBezierSegmentFigureLogic.cs
- ByteRangeDownloader.cs
- DataGrid.cs
- EncoderExceptionFallback.cs
- CollectionDataContractAttribute.cs
- OptimalBreakSession.cs
- HtmlEncodedRawTextWriter.cs
- ServerValidateEventArgs.cs
- UrlMapping.cs
- _PooledStream.cs
- EventHandlersStore.cs
- XmlSchemaInfo.cs
- TabControl.cs
- EndpointConfigContainer.cs
- HtmlInputReset.cs
- ControlPropertyNameConverter.cs
- GlyphCollection.cs
- HandlerFactoryCache.cs
- FigureParaClient.cs
- HitTestFilterBehavior.cs
- RecordsAffectedEventArgs.cs