Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CustomAttributeFormatException.cs
- SqlLiftWhereClauses.cs
- PermissionListSet.cs
- IconConverter.cs
- ScrollItemPatternIdentifiers.cs
- ComboBoxAutomationPeer.cs
- Missing.cs
- ConfigurationValidatorAttribute.cs
- ProcessRequestAsyncResult.cs
- MenuAdapter.cs
- Policy.cs
- SqlBulkCopyColumnMappingCollection.cs
- GraphicsPath.cs
- XPathNodeIterator.cs
- TouchPoint.cs
- HelloMessageApril2005.cs
- Canvas.cs
- SchemaElementLookUpTable.cs
- MenuItemBindingCollection.cs
- List.cs
- BoundPropertyEntry.cs
- MaskedTextBoxDesignerActionList.cs
- CodeObject.cs
- PassportAuthenticationModule.cs
- DataGridViewMethods.cs
- ImageMap.cs
- EventRecord.cs
- PersonalizationEntry.cs
- DirtyTextRange.cs
- XmlLanguageConverter.cs
- UInt32Converter.cs
- CommonObjectSecurity.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- RequiredAttributeAttribute.cs
- ValueTypeFixupInfo.cs
- MediaTimeline.cs
- InkCanvasSelection.cs
- DesignerTextViewAdapter.cs
- IsolatedStorageFile.cs
- OleDbException.cs
- ReceiveSecurityHeaderEntry.cs
- ToolStripSeparator.cs
- Parsers.cs
- ToolStripSeparatorRenderEventArgs.cs
- ChangeInterceptorAttribute.cs
- SimpleBitVector32.cs
- OrderedDictionaryStateHelper.cs
- GroupBoxAutomationPeer.cs
- TempFiles.cs
- BinarySecretSecurityToken.cs
- SqlTriggerAttribute.cs
- MultipartContentParser.cs
- DataGridViewRow.cs
- PasswordBoxAutomationPeer.cs
- OdbcUtils.cs
- SqlDependency.cs
- IsolatedStoragePermission.cs
- HttpCookie.cs
- XMLSchema.cs
- StreamGeometry.cs
- GridItemProviderWrapper.cs
- BinaryUtilClasses.cs
- TextEndOfParagraph.cs
- WindowsEditBox.cs
- HttpListenerPrefixCollection.cs
- AccessDataSourceView.cs
- TypeNameHelper.cs
- WindowsAuthenticationModule.cs
- Shape.cs
- HyperLinkStyle.cs
- TreeViewAutomationPeer.cs
- OrderedHashRepartitionEnumerator.cs
- SupportsEventValidationAttribute.cs
- XpsSerializationException.cs
- PipelineModuleStepContainer.cs
- ScriptBehaviorDescriptor.cs
- ManagementObject.cs
- SoapFormatter.cs
- XmlDeclaration.cs
- DataGridViewCellStyle.cs
- BulletedListEventArgs.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DesignerResources.cs
- MethodCallConverter.cs
- AdPostCacheSubstitution.cs
- InitializationEventAttribute.cs
- ItemsControlAutomationPeer.cs
- HtmlWindow.cs
- XmlCompatibilityReader.cs
- FrameworkElement.cs
- DataControlFieldTypeEditor.cs
- EdmComplexTypeAttribute.cs
- MenuItemCollection.cs
- MetadataUtil.cs
- TextSchema.cs
- SQLSingleStorage.cs
- SafeArrayRankMismatchException.cs
- ServicePointManager.cs
- AttachedAnnotation.cs
- ToolStripRenderEventArgs.cs