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
- LogAppendAsyncResult.cs
- AssertUtility.cs
- RemoteWebConfigurationHostStream.cs
- RootBuilder.cs
- ChameleonKey.cs
- HelpInfo.cs
- XmlSchemaImport.cs
- cookiecollection.cs
- ConnectionPoint.cs
- ElementNotAvailableException.cs
- SecurityException.cs
- TransportChannelFactory.cs
- OutputCacheSettingsSection.cs
- TreeNodeSelectionProcessor.cs
- EventLogPermissionAttribute.cs
- Command.cs
- base64Transforms.cs
- TypeDescriptorContext.cs
- PolicyLevel.cs
- IIS7WorkerRequest.cs
- StrongTypingException.cs
- RowSpanVector.cs
- SwitchCase.cs
- SqlServer2KCompatibilityAnnotation.cs
- HttpValueCollection.cs
- StrongNameHelpers.cs
- Int16Animation.cs
- BuildTopDownAttribute.cs
- TemporaryBitmapFile.cs
- XmlSchemaRedefine.cs
- EntityViewGenerationAttribute.cs
- BoundField.cs
- ListViewItemCollectionEditor.cs
- Handle.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Focus.cs
- Error.cs
- ControlBindingsCollection.cs
- CroppedBitmap.cs
- FloaterBaseParagraph.cs
- SourceItem.cs
- NonSerializedAttribute.cs
- DataServiceRequestArgs.cs
- GreenMethods.cs
- DetailsViewDeletedEventArgs.cs
- Drawing.cs
- VisualStyleTypesAndProperties.cs
- AdRotator.cs
- AuthStoreRoleProvider.cs
- ModifiableIteratorCollection.cs
- DefaultParameterValueAttribute.cs
- InvalidAsynchronousStateException.cs
- StorageMappingItemCollection.cs
- SmtpAuthenticationManager.cs
- BinHexEncoder.cs
- FunctionImportElement.cs
- EventLogPermissionEntryCollection.cs
- ComponentCollection.cs
- SamlAttribute.cs
- IgnoreFlushAndCloseStream.cs
- Font.cs
- OracleSqlParser.cs
- XmlNamespaceManager.cs
- OdbcCommand.cs
- Message.cs
- CodeCompileUnit.cs
- ActivityDesignerResources.cs
- ComponentCodeDomSerializer.cs
- FixedDocumentSequencePaginator.cs
- QilStrConcatenator.cs
- XmlSchemaSimpleTypeRestriction.cs
- OutputCacheSection.cs
- ComEventsMethod.cs
- Context.cs
- DocumentApplication.cs
- Simplifier.cs
- InProcStateClientManager.cs
- XmlAutoDetectWriter.cs
- BaseUriHelper.cs
- DataColumnCollection.cs
- AppPool.cs
- IdleTimeoutMonitor.cs
- Module.cs
- QueueSurrogate.cs
- InstanceDataCollectionCollection.cs
- Action.cs
- TextMarkerSource.cs
- BamlTreeNode.cs
- PropertySourceInfo.cs
- Properties.cs
- TearOffProxy.cs
- RegexStringValidator.cs
- RegexReplacement.cs
- DoubleAnimationBase.cs
- DynamicPropertyHolder.cs
- RightsManagementEncryptedStream.cs
- IndexedString.cs
- HttpApplicationStateBase.cs
- XmlQueryContext.cs
- FixedSOMTable.cs