Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
///
/// Provides data for
/// the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlException.cs
- ClusterSafeNativeMethods.cs
- MenuItem.cs
- SafeCryptHandles.cs
- WebBrowsableAttribute.cs
- HttpConfigurationContext.cs
- XmlNavigatorStack.cs
- IDQuery.cs
- XmlComment.cs
- SharedPersonalizationStateInfo.cs
- mansign.cs
- StatusBar.cs
- DatePickerAutomationPeer.cs
- HttpProfileBase.cs
- IndicFontClient.cs
- StylusDevice.cs
- InputLanguage.cs
- UpDownBase.cs
- DocumentViewerAutomationPeer.cs
- ConsoleKeyInfo.cs
- FloatUtil.cs
- MarginCollapsingState.cs
- HttpApplicationFactory.cs
- XamlStream.cs
- Regex.cs
- InplaceBitmapMetadataWriter.cs
- EdmSchemaAttribute.cs
- AccessedThroughPropertyAttribute.cs
- DocumentPageView.cs
- XmlSchemaSimpleTypeList.cs
- ProxyRpc.cs
- FileUtil.cs
- SafeNativeMethods.cs
- InstanceLockQueryResult.cs
- GlobalizationAssembly.cs
- SiteMapNodeCollection.cs
- ReachPageContentCollectionSerializerAsync.cs
- BitmapEncoder.cs
- TextFormatter.cs
- XmlReturnWriter.cs
- ObfuscateAssemblyAttribute.cs
- HttpListener.cs
- COM2Enum.cs
- TTSVoice.cs
- QilIterator.cs
- TypeToken.cs
- ComponentManagerBroker.cs
- IPHostEntry.cs
- TemplateXamlParser.cs
- PeerNode.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- ResourceReferenceExpression.cs
- DSGeneratorProblem.cs
- Domain.cs
- CaseStatementProjectedSlot.cs
- PreviewKeyDownEventArgs.cs
- DataGridViewRowCollection.cs
- CommandField.cs
- CreateRefExpr.cs
- ActivationArguments.cs
- TextServicesContext.cs
- GrammarBuilder.cs
- NavigatorInput.cs
- Int64Storage.cs
- TextBoxAutoCompleteSourceConverter.cs
- UrlAuthorizationModule.cs
- X509ChainElement.cs
- SqlConnectionHelper.cs
- PolyLineSegment.cs
- ApplicationDirectoryMembershipCondition.cs
- GridViewRowPresenter.cs
- SingleStorage.cs
- PackageRelationshipCollection.cs
- InvalidPipelineStoreException.cs
- SiteMapDataSource.cs
- contentDescriptor.cs
- jithelpers.cs
- ProvidersHelper.cs
- ColorConvertedBitmap.cs
- CssTextWriter.cs
- TreeViewAutomationPeer.cs
- GenericTypeParameterConverter.cs
- BasicHttpMessageSecurity.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlSchema.cs
- Cursor.cs
- BinaryReader.cs
- StdValidatorsAndConverters.cs
- PublisherMembershipCondition.cs
- TextTabProperties.cs
- TableParaClient.cs
- shaperfactoryquerycachekey.cs
- FormattedText.cs
- GridViewCancelEditEventArgs.cs
- UITypeEditor.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SqlBuilder.cs
- DataGridBoolColumn.cs
- MessageProtectionOrder.cs
- PrivilegeNotHeldException.cs