Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridPageChangedEventArgs.cs / 1305376 / DataGridPageChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
///
/// Provides data for
/// the
/// event.
///
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;
///
/// Provides data for
/// the
/// event.
///
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
- Assembly.cs
- WriterOutput.cs
- CompositeFontInfo.cs
- Soap11ServerProtocol.cs
- DecoderBestFitFallback.cs
- DocumentSequenceHighlightLayer.cs
- Range.cs
- ResourceManager.cs
- TemplatePartAttribute.cs
- DependencyObject.cs
- FormatSelectingMessageInspector.cs
- __FastResourceComparer.cs
- InlineUIContainer.cs
- ImagingCache.cs
- CatalogPart.cs
- OleDbConnectionInternal.cs
- UserPreferenceChangingEventArgs.cs
- Helpers.cs
- EventTask.cs
- UIElementHelper.cs
- CacheDict.cs
- MonthChangedEventArgs.cs
- HwndHost.cs
- DecimalConstantAttribute.cs
- SecurityPolicySection.cs
- ErrorEventArgs.cs
- SignatureDescription.cs
- ToolStripItemEventArgs.cs
- HttpApplicationFactory.cs
- DataMisalignedException.cs
- LoadRetryConstantStrategy.cs
- FormsAuthenticationModule.cs
- UriScheme.cs
- FlowDocumentFormatter.cs
- SelectionItemPatternIdentifiers.cs
- TrackingProfile.cs
- TextEditorCharacters.cs
- PolicyImporterElementCollection.cs
- XmlEncoding.cs
- XmlElementAttributes.cs
- TypeToken.cs
- TextTreeUndo.cs
- Compiler.cs
- Vector3DKeyFrameCollection.cs
- SHA256Managed.cs
- TypeDescriptor.cs
- MetadataCache.cs
- DataChangedEventManager.cs
- BidPrivateBase.cs
- Control.cs
- CodeTypeDeclaration.cs
- WebPartZone.cs
- RenderTargetBitmap.cs
- FlowLayoutPanel.cs
- ListArgumentProvider.cs
- CombinedHttpChannel.cs
- UdpReplyToBehavior.cs
- StringAnimationBase.cs
- ArraySegment.cs
- DefaultPropertyAttribute.cs
- XPathScanner.cs
- DispatcherFrame.cs
- X509Certificate.cs
- DataGridViewCellValueEventArgs.cs
- XmlDataSource.cs
- ValidationSummary.cs
- XXXInfos.cs
- ContainerFilterService.cs
- ImportContext.cs
- X509CertificateValidator.cs
- TypePropertyEditor.cs
- TemplateColumn.cs
- StandardToolWindows.cs
- BasicExpandProvider.cs
- DataControlImageButton.cs
- ThrowHelper.cs
- MemoryMappedFileSecurity.cs
- WebSysDefaultValueAttribute.cs
- MatrixStack.cs
- ToolboxControl.cs
- Compensate.cs
- MemoryFailPoint.cs
- BrushConverter.cs
- MeasureItemEvent.cs
- CacheModeValueSerializer.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- MonitoringDescriptionAttribute.cs
- DetailsViewPageEventArgs.cs
- MarkupProperty.cs
- sqlstateclientmanager.cs
- WsdlImporterElementCollection.cs
- SimpleHandlerFactory.cs
- TableItemPatternIdentifiers.cs
- CroppedBitmap.cs
- SelectionPatternIdentifiers.cs
- DataServiceExpressionVisitor.cs
- PaintEvent.cs
- UnionExpr.cs
- PageThemeParser.cs
- LinqToSqlWrapper.cs