Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewPageEventArgs.cs / 1 / FormViewPageEventArgs.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 FormViewPageEventArgs : CancelEventArgs {
private int _newPageIndex;
///
/// Initializes a new instance of the class.
///
public FormViewPageEventArgs(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 FormViewPageEventArgs : CancelEventArgs {
private int _newPageIndex;
///
/// Initializes a new instance of the class.
///
public FormViewPageEventArgs(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
- ProjectionPlanCompiler.cs
- CommandBindingCollection.cs
- Int32KeyFrameCollection.cs
- InlineCollection.cs
- XmlHelper.cs
- XmlWrappingWriter.cs
- RuntimeArgumentHandle.cs
- InternalConfigEventArgs.cs
- Automation.cs
- MulticastOption.cs
- __Error.cs
- CompilerInfo.cs
- PlanCompilerUtil.cs
- DelegateCompletionCallbackWrapper.cs
- CqlIdentifiers.cs
- WorkItem.cs
- DeploymentExceptionMapper.cs
- WsdlInspector.cs
- HtmlTextArea.cs
- WpfKnownTypeInvoker.cs
- PagedDataSource.cs
- RegexParser.cs
- PropertiesTab.cs
- ForwardPositionQuery.cs
- TileBrush.cs
- DbDataReader.cs
- Propagator.ExtentPlaceholderCreator.cs
- SqlBulkCopy.cs
- ConnectionManagementSection.cs
- CellNormalizer.cs
- FullTextState.cs
- XsltLoader.cs
- SQLInt32.cs
- AnchoredBlock.cs
- EntityExpressionVisitor.cs
- DateTimeUtil.cs
- SystemResourceKey.cs
- SamlSubject.cs
- TemplateControlParser.cs
- KeyConverter.cs
- PeerApplicationLaunchInfo.cs
- CodeChecksumPragma.cs
- MinimizableAttributeTypeConverter.cs
- ClaimSet.cs
- GridViewCellAutomationPeer.cs
- SimpleHandlerBuildProvider.cs
- EnterpriseServicesHelper.cs
- QilXmlWriter.cs
- PageTheme.cs
- SqlDelegatedTransaction.cs
- CodeDomConfigurationHandler.cs
- ScalarRestriction.cs
- RegisteredScript.cs
- _CookieModule.cs
- ParallelDesigner.cs
- XmlSchemaObjectTable.cs
- BrowserCapabilitiesFactoryBase.cs
- XmlSchemaDatatype.cs
- WeakRefEnumerator.cs
- GeneralTransform3DCollection.cs
- TableLayoutCellPaintEventArgs.cs
- UndoManager.cs
- InheritedPropertyChangedEventArgs.cs
- XmlUtil.cs
- GrammarBuilderDictation.cs
- CursorConverter.cs
- Delegate.cs
- BookmarkScopeManager.cs
- QuotedPrintableStream.cs
- PointAnimationUsingKeyFrames.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- WebServiceData.cs
- XXXInfos.cs
- Mouse.cs
- ResourcePermissionBase.cs
- ConsoleKeyInfo.cs
- DiscriminatorMap.cs
- TdsParserHelperClasses.cs
- AsyncOperation.cs
- HtmlInputImage.cs
- EntitySqlQueryCacheKey.cs
- ListViewTableCell.cs
- WebZone.cs
- WinInet.cs
- ImagingCache.cs
- DependencyPropertyKind.cs
- IOException.cs
- TypeDescriptorContext.cs
- Aggregates.cs
- CriticalHandle.cs
- Soap11ServerProtocol.cs
- SizeConverter.cs
- MetadataPropertyCollection.cs
- DragAssistanceManager.cs
- ResolveCompletedEventArgs.cs
- VisualBasicImportReference.cs
- TextSpanModifier.cs
- SapiRecoInterop.cs
- PropertyReferenceSerializer.cs
- WindowsGraphics2.cs