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 / DataGridPageChangedEventArgs.cs / 1 / DataGridPageChangedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridPageChangedEventArgs : EventArgs { private object commandSource; private int newPageIndex; ///Provides data for /// the ////// event. /// public DataGridPageChangedEventArgs(object commandSource, int newPageIndex) { this.commandSource = commandSource; this.newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public int NewPageIndex { get { return newPageIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the index of the first new page to be displayed in the ///. /// This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridPageChangedEventArgs : EventArgs { private object commandSource; private int newPageIndex; ///Provides data for /// the ////// event. /// public DataGridPageChangedEventArgs(object commandSource, int newPageIndex) { this.commandSource = commandSource; this.newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public int NewPageIndex { get { return newPageIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the index of the first new page to be displayed in the ///. /// This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListSortDescription.cs
- DiagnosticTraceRecords.cs
- ToolbarAUtomationPeer.cs
- ClientSponsor.cs
- ParallelDesigner.cs
- DependencyObject.cs
- Executor.cs
- Attributes.cs
- precedingsibling.cs
- XmlDataSourceNodeDescriptor.cs
- SqlUtil.cs
- PagedDataSource.cs
- TextTreeInsertElementUndoUnit.cs
- TrackBarRenderer.cs
- Messages.cs
- XmlSchemas.cs
- WindowsFormsSynchronizationContext.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ClassData.cs
- WebServiceFaultDesigner.cs
- Message.cs
- CleanUpVirtualizedItemEventArgs.cs
- InvalidCastException.cs
- XPathNode.cs
- MetadataItemEmitter.cs
- ValuePatternIdentifiers.cs
- DefaultTextStoreTextComposition.cs
- SuppressMessageAttribute.cs
- PersonalizationProvider.cs
- ActiveXContainer.cs
- FolderBrowserDialog.cs
- StructuredProperty.cs
- SqlVisitor.cs
- WebReferenceOptions.cs
- XmlWriterDelegator.cs
- DesignBindingConverter.cs
- LayoutTableCell.cs
- ScrollViewer.cs
- SmtpLoginAuthenticationModule.cs
- BinaryMethodMessage.cs
- ActivationProxy.cs
- UpWmlPageAdapter.cs
- DurableErrorHandler.cs
- FunctionUpdateCommand.cs
- GAC.cs
- DataGrid.cs
- BmpBitmapDecoder.cs
- WindowsRebar.cs
- AttributeQuery.cs
- ProjectionCamera.cs
- SemanticResolver.cs
- DispatcherSynchronizationContext.cs
- Triplet.cs
- HebrewNumber.cs
- TabControlCancelEvent.cs
- MetadataSerializer.cs
- DatatypeImplementation.cs
- CommentGlyph.cs
- ArgumentNullException.cs
- PtsHelper.cs
- QuaternionIndependentAnimationStorage.cs
- DropShadowEffect.cs
- TimelineCollection.cs
- XmlDownloadManager.cs
- ServiceModelInstallComponent.cs
- OutputCacheSection.cs
- UnSafeCharBuffer.cs
- PositiveTimeSpanValidatorAttribute.cs
- TablePattern.cs
- DefaultHttpHandler.cs
- AstTree.cs
- MethodBuilder.cs
- TextEditorLists.cs
- PackWebRequest.cs
- CommandValueSerializer.cs
- IDataContractSurrogate.cs
- CheckedPointers.cs
- SerializerWriterEventHandlers.cs
- RepeatButton.cs
- SemaphoreSlim.cs
- NativeActivityTransactionContext.cs
- DropSourceBehavior.cs
- ScrollBar.cs
- ServerValidateEventArgs.cs
- KnownTypes.cs
- DeviceContext.cs
- Evidence.cs
- SmtpLoginAuthenticationModule.cs
- WsdlInspector.cs
- AppearanceEditorPart.cs
- XPathAncestorQuery.cs
- DataGridViewCellStyleEditor.cs
- TagNameToTypeMapper.cs
- DataGridColumnCollectionEditor.cs
- AsymmetricAlgorithm.cs
- AppSettingsExpressionBuilder.cs
- Convert.cs
- InvalidPrinterException.cs
- TimelineClockCollection.cs
- ToolStripRenderEventArgs.cs