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 / GridViewPageEventArgs.cs / 1 / GridViewPageEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // 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.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // 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
- SchemaImporterExtension.cs
- DrawingGroupDrawingContext.cs
- EntityContainerAssociationSet.cs
- ExpandedWrapper.cs
- ApplicationInfo.cs
- RuleInfoComparer.cs
- ItemCollection.cs
- DaylightTime.cs
- FrameworkPropertyMetadata.cs
- AdapterDictionary.cs
- BooleanToVisibilityConverter.cs
- CookielessHelper.cs
- BuildProvidersCompiler.cs
- SrgsSemanticInterpretationTag.cs
- OleDbCommandBuilder.cs
- FillBehavior.cs
- TargetFrameworkUtil.cs
- DesignerForm.cs
- WebPartCatalogCloseVerb.cs
- ComponentDispatcher.cs
- ReachBasicContext.cs
- DbConnectionPoolCounters.cs
- _UncName.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- TransportConfigurationTypeElement.cs
- DbReferenceCollection.cs
- UnsafeNativeMethods.cs
- SystemResources.cs
- SmtpException.cs
- shaperfactoryquerycacheentry.cs
- ObjectIDGenerator.cs
- SecurityElement.cs
- ConnectionStringsExpressionEditor.cs
- ClientScriptManagerWrapper.cs
- SafeLocalAllocation.cs
- SimpleBitVector32.cs
- EncoderExceptionFallback.cs
- SmiEventSink.cs
- HierarchicalDataTemplate.cs
- ExpandCollapseProviderWrapper.cs
- CatalogZoneAutoFormat.cs
- EditorPartCollection.cs
- RegexStringValidatorAttribute.cs
- PackagePart.cs
- BinaryFormatterWriter.cs
- GraphicsContext.cs
- ProfileEventArgs.cs
- ZipIOExtraFieldPaddingElement.cs
- ExtendedProperty.cs
- Vector3DValueSerializer.cs
- MethodCallConverter.cs
- PeerOutputChannel.cs
- FaultBookmark.cs
- GlyphRunDrawing.cs
- RightsManagementLicense.cs
- XmlSchemaCompilationSettings.cs
- TaiwanLunisolarCalendar.cs
- BindingsCollection.cs
- Shared.cs
- ExceptionValidationRule.cs
- StringOutput.cs
- RelationshipSet.cs
- TextEditorSelection.cs
- HttpDictionary.cs
- ExtensionWindowResizeGrip.cs
- SchemaCollectionCompiler.cs
- LogEntry.cs
- columnmapkeybuilder.cs
- SQLMoneyStorage.cs
- BrowserCapabilitiesCompiler.cs
- Overlapped.cs
- RecognizerStateChangedEventArgs.cs
- ConnectorDragDropGlyph.cs
- TypeSystemProvider.cs
- SafeMILHandle.cs
- PropertyGridEditorPart.cs
- EdmMember.cs
- DataRecordInternal.cs
- DateRangeEvent.cs
- TypeListConverter.cs
- TypeListConverter.cs
- NativeMethods.cs
- ServiceSecurityContext.cs
- AppDomainManager.cs
- PackageDigitalSignature.cs
- SystemResources.cs
- XmlSchemaInclude.cs
- SeekableReadStream.cs
- DataKeyCollection.cs
- Operator.cs
- MetadataExchangeBindings.cs
- ButtonFlatAdapter.cs
- AuthorizationRuleCollection.cs
- GetTokenRequest.cs
- BrowserDefinition.cs
- MILUtilities.cs
- ListControlBoundActionList.cs
- UdpDiscoveryEndpointProvider.cs
- ControlPaint.cs
- HyperLinkColumn.cs