Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- base64Transforms.cs
- AliasedSlot.cs
- DirtyTextRange.cs
- CloseCollectionAsyncResult.cs
- ConfigurationPropertyCollection.cs
- Permission.cs
- MailWriter.cs
- DataTableNewRowEvent.cs
- TraceHandler.cs
- OutOfProcStateClientManager.cs
- OleDbPropertySetGuid.cs
- WbemException.cs
- DocumentViewerBaseAutomationPeer.cs
- EmptyWithCancelationCheckWorkItem.cs
- DbProviderFactoriesConfigurationHandler.cs
- SoapElementAttribute.cs
- XmlTextReaderImpl.cs
- MemoryStream.cs
- ConfigurationSectionGroupCollection.cs
- VirtualPathUtility.cs
- TemplateBindingExtension.cs
- UrlPropertyAttribute.cs
- XhtmlBasicTextBoxAdapter.cs
- CodeMemberField.cs
- MultipleViewProviderWrapper.cs
- SpeechSeg.cs
- MetroSerializationManager.cs
- MembershipValidatePasswordEventArgs.cs
- TypeListConverter.cs
- Double.cs
- BindingSourceDesigner.cs
- AutomationElementIdentifiers.cs
- XsdValidatingReader.cs
- ColumnClickEvent.cs
- ExpressionVisitor.cs
- XsdDuration.cs
- XmlTextEncoder.cs
- HashCodeCombiner.cs
- BigInt.cs
- BitmapEffectInput.cs
- MsmqProcessProtocolHandler.cs
- XmlSigningNodeWriter.cs
- SimpleWorkerRequest.cs
- MenuTracker.cs
- WindowsBrush.cs
- HttpCacheVaryByContentEncodings.cs
- SafeBitVector32.cs
- QueryOutputWriterV1.cs
- WpfXamlMember.cs
- RowUpdatingEventArgs.cs
- GridEntry.cs
- SelectionEditingBehavior.cs
- MsmqChannelFactory.cs
- DetailsViewCommandEventArgs.cs
- SchemaAttDef.cs
- XsltLoader.cs
- InvalidPrinterException.cs
- ActivityXRefConverter.cs
- ItemContainerGenerator.cs
- Switch.cs
- SafeReversePInvokeHandle.cs
- EntityDataSourceState.cs
- FragmentQueryProcessor.cs
- RoleBoolean.cs
- XmlCodeExporter.cs
- ListViewGroupItemCollection.cs
- OrderToken.cs
- Semaphore.cs
- WriteFileContext.cs
- PerformanceCounterPermissionEntryCollection.cs
- Size.cs
- Certificate.cs
- ScriptModule.cs
- Int16Animation.cs
- RegexCharClass.cs
- LocatorBase.cs
- SmiEventSink_DeferedProcessing.cs
- InlineUIContainer.cs
- NativeMethods.cs
- TextBreakpoint.cs
- CapacityStreamGeometryContext.cs
- UpdateRecord.cs
- CodeStatementCollection.cs
- Win32Native.cs
- ProxyWebPartConnectionCollection.cs
- CaseExpr.cs
- SponsorHelper.cs
- XmlQueryOutput.cs
- BaseParaClient.cs
- PolicyImporterElement.cs
- DbConnectionPoolGroupProviderInfo.cs
- Context.cs
- Frame.cs
- Stacktrace.cs
- EntityViewGenerator.cs
- Point3DAnimationUsingKeyFrames.cs
- RequestNavigateEventArgs.cs
- PointIndependentAnimationStorage.cs
- WebPartTransformerCollection.cs
- ThaiBuddhistCalendar.cs