Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridPageChangedEventArgs.cs / 1 / DataGridPageChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.Security.Permissions;
///
/// Provides data for
/// the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class DataGridPageChangedEventArgs : EventArgs {
private object commandSource;
private int newPageIndex;
///
/// Initializes a new instance of the class.
///
public DataGridPageChangedEventArgs(object commandSource, int newPageIndex) {
this.commandSource = commandSource;
this.newPageIndex = newPageIndex;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return commandSource;
}
}
///
/// Gets the index of the first new page to be displayed in the .
/// This property is read-only.
///
public int NewPageIndex {
get {
return newPageIndex;
}
}
}
}
// 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.Security.Permissions;
///
/// Provides data for
/// the
/// event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class DataGridPageChangedEventArgs : EventArgs {
private object commandSource;
private int newPageIndex;
///
/// Initializes a new instance of the class.
///
public DataGridPageChangedEventArgs(object commandSource, int newPageIndex) {
this.commandSource = commandSource;
this.newPageIndex = newPageIndex;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return commandSource;
}
}
///
/// Gets the index of the first new page to be displayed in the .
/// This property is read-only.
///
public int NewPageIndex {
get {
return newPageIndex;
}
}
}
}
// 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
- BinHexEncoder.cs
- MarkupExtensionReturnTypeAttribute.cs
- ActivationServices.cs
- FrameworkContentElementAutomationPeer.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- WindowsRichEdit.cs
- EventLogPermissionAttribute.cs
- PolyBezierSegmentFigureLogic.cs
- WebPartDisplayModeCollection.cs
- WebSysDisplayNameAttribute.cs
- DefaultValueAttribute.cs
- DataSourceDesigner.cs
- SubMenuStyleCollection.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ValueQuery.cs
- SizeConverter.cs
- ByteAnimation.cs
- ExceptionHandlers.cs
- OperationCanceledException.cs
- _AuthenticationState.cs
- panel.cs
- GuidelineSet.cs
- EndpointInfoCollection.cs
- ExitEventArgs.cs
- SortQuery.cs
- _DigestClient.cs
- ToolboxItem.cs
- AdvancedBindingPropertyDescriptor.cs
- ZipIOCentralDirectoryBlock.cs
- KeyEventArgs.cs
- SoapExtensionStream.cs
- storepermission.cs
- DbException.cs
- ControlCachePolicy.cs
- BackgroundWorker.cs
- CollectionViewGroup.cs
- DateTimeValueSerializer.cs
- DataGridAutoFormatDialog.cs
- SymLanguageType.cs
- TreeNodeCollection.cs
- SqlFacetAttribute.cs
- SqlCharStream.cs
- MiniLockedBorderGlyph.cs
- SrgsRule.cs
- WindowHelperService.cs
- RuntimeIdentifierPropertyAttribute.cs
- TagPrefixCollection.cs
- XmlSchemaElement.cs
- ApplicationActivator.cs
- FocusWithinProperty.cs
- NativeMethods.cs
- ConfigXmlWhitespace.cs
- WebPartsPersonalizationAuthorization.cs
- CardSpaceException.cs
- JoinCqlBlock.cs
- GroupPartitionExpr.cs
- GridViewDeletedEventArgs.cs
- ServiceDesigner.cs
- ModifyActivitiesPropertyDescriptor.cs
- ApplicationDirectoryMembershipCondition.cs
- XmlSchemaIdentityConstraint.cs
- HttpCachePolicy.cs
- ResourceReader.cs
- InputLanguageCollection.cs
- CodeRemoveEventStatement.cs
- BinHexDecoder.cs
- ConstructorNeedsTagAttribute.cs
- ConstructorArgumentAttribute.cs
- MarginsConverter.cs
- DefaultValueConverter.cs
- CompositeActivityMarkupSerializer.cs
- xmlglyphRunInfo.cs
- Content.cs
- TableLayoutCellPaintEventArgs.cs
- Vertex.cs
- ADMembershipProvider.cs
- HotSpot.cs
- ObjectParameter.cs
- SchemaCollectionPreprocessor.cs
- WaitHandle.cs
- InstanceData.cs
- HashRepartitionEnumerator.cs
- Size.cs
- DrawingContextDrawingContextWalker.cs
- AuthorizationRuleCollection.cs
- ContractNamespaceAttribute.cs
- HtmlInputText.cs
- RotateTransform.cs
- WebException.cs
- messageonlyhwndwrapper.cs
- ConfigsHelper.cs
- RuntimeArgumentHandle.cs
- LabelAutomationPeer.cs
- DoubleCollectionConverter.cs
- BasePattern.cs
- TaiwanCalendar.cs
- LocalizationParserHooks.cs
- HttpRawResponse.cs
- Journal.cs
- ImageEditor.cs