Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewPageEventArgs.cs / 1 / DetailsViewPageEventArgs.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 DetailsViewPageEventArgs : CancelEventArgs {
private int _newPageIndex;
///
/// Initializes a new instance of the class.
///
public DetailsViewPageEventArgs(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 {
_newPageIndex = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// 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 DetailsViewPageEventArgs : CancelEventArgs {
private int _newPageIndex;
///
/// Initializes a new instance of the class.
///
public DetailsViewPageEventArgs(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 {
_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
- Glyph.cs
- SevenBitStream.cs
- ContextBase.cs
- AssemblyBuilder.cs
- SystemGatewayIPAddressInformation.cs
- ValidationRuleCollection.cs
- ToolBarButton.cs
- XmlElementList.cs
- BaseParaClient.cs
- counter.cs
- SqlFormatter.cs
- TypeSource.cs
- TableLayoutRowStyleCollection.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlNavigatorFilter.cs
- _DomainName.cs
- BooleanConverter.cs
- SafeNativeHandle.cs
- LazyTextWriterCreator.cs
- Main.cs
- WrappedIUnknown.cs
- Camera.cs
- PseudoWebRequest.cs
- RegistryPermission.cs
- EditCommandColumn.cs
- MethodBuilderInstantiation.cs
- NetTcpSectionData.cs
- TextRangeAdaptor.cs
- Emitter.cs
- SchemaElementDecl.cs
- DataPagerField.cs
- SByteConverter.cs
- UInt64.cs
- Attributes.cs
- WebPartConnectionsConnectVerb.cs
- ExtensionSimplifierMarkupObject.cs
- HostingEnvironmentException.cs
- Stopwatch.cs
- UInt16Storage.cs
- PointLight.cs
- ConditionedDesigner.cs
- Match.cs
- ProfileSettings.cs
- DocumentGridContextMenu.cs
- TextClipboardData.cs
- Span.cs
- ClassHandlersStore.cs
- ReadOnlyAttribute.cs
- FormViewPagerRow.cs
- WrappedIUnknown.cs
- TcpAppDomainProtocolHandler.cs
- DocumentPageTextView.cs
- FtpRequestCacheValidator.cs
- ExtensionWindowHeader.cs
- TimeManager.cs
- X509Chain.cs
- NumericPagerField.cs
- OdbcConnectionHandle.cs
- ScriptHandlerFactory.cs
- Delegate.cs
- ControlPropertyNameConverter.cs
- SettingsBase.cs
- TaskScheduler.cs
- BufferedStream.cs
- SchemaImporterExtensionElementCollection.cs
- CreateUserWizardStep.cs
- PeerPresenceInfo.cs
- TableCell.cs
- OracleCommand.cs
- DriveInfo.cs
- ManipulationVelocities.cs
- FragmentQueryKB.cs
- ListSurrogate.cs
- ListenerElementsCollection.cs
- TypeSystemHelpers.cs
- SettingsPropertyValueCollection.cs
- Page.cs
- FrameworkReadOnlyPropertyMetadata.cs
- AttributeCollection.cs
- RecommendedAsConfigurableAttribute.cs
- CharAnimationBase.cs
- FloatAverageAggregationOperator.cs
- Storyboard.cs
- ImageUrlEditor.cs
- FontNamesConverter.cs
- OperationContractGenerationContext.cs
- ADMembershipProvider.cs
- QuaternionRotation3D.cs
- FrugalMap.cs
- ImageFormat.cs
- Library.cs
- InputProcessorProfilesLoader.cs
- DataFieldEditor.cs
- SerialPort.cs
- ProtocolsSection.cs
- PropertyPath.cs
- WebPartUserCapability.cs
- HScrollBar.cs
- Geometry.cs
- EntityDataSourceSelectedEventArgs.cs