Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / DataPagerCommandEventArgs.cs / 1 / DataPagerCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Diagnostics.CodeAnalysis; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataPagerCommandEventArgs : CommandEventArgs { private DataPagerField _pagerField; private int _totalRowCount; private int _newMaximumRows = -1; private int _newStartRowIndex = -1; private DataPagerFieldItem _item; [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "2#")] public DataPagerCommandEventArgs(DataPagerField pagerField, int totalRowCount, CommandEventArgs originalArgs, DataPagerFieldItem item) : base(originalArgs) { _pagerField = pagerField; _totalRowCount = totalRowCount; _item = item; } public DataPagerFieldItem Item { get { return _item; } } public int NewMaximumRows { get { return _newMaximumRows; } set { _newMaximumRows = value; } } public int NewStartRowIndex { get { return _newStartRowIndex; } set { _newStartRowIndex = value; } } public DataPagerField PagerField { get { return _pagerField; } } public int TotalRowCount { get { return _totalRowCount; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Diagnostics.CodeAnalysis; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataPagerCommandEventArgs : CommandEventArgs { private DataPagerField _pagerField; private int _totalRowCount; private int _newMaximumRows = -1; private int _newStartRowIndex = -1; private DataPagerFieldItem _item; [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", MessageId = "2#")] public DataPagerCommandEventArgs(DataPagerField pagerField, int totalRowCount, CommandEventArgs originalArgs, DataPagerFieldItem item) : base(originalArgs) { _pagerField = pagerField; _totalRowCount = totalRowCount; _item = item; } public DataPagerFieldItem Item { get { return _item; } } public int NewMaximumRows { get { return _newMaximumRows; } set { _newMaximumRows = value; } } public int NewStartRowIndex { get { return _newStartRowIndex; } set { _newStartRowIndex = value; } } public DataPagerField PagerField { get { return _pagerField; } } public int TotalRowCount { get { return _totalRowCount; } } } } // 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
- ReturnValue.cs
- ByteConverter.cs
- BulletedListEventArgs.cs
- LingerOption.cs
- CFStream.cs
- ApplicationException.cs
- ChineseLunisolarCalendar.cs
- StoreAnnotationsMap.cs
- Itemizer.cs
- OrderByQueryOptionExpression.cs
- ArglessEventHandlerProxy.cs
- SerializationEventsCache.cs
- ByteRangeDownloader.cs
- Object.cs
- CommentGlyph.cs
- CharUnicodeInfo.cs
- MatrixKeyFrameCollection.cs
- LinqDataSource.cs
- LambdaCompiler.Generated.cs
- NoneExcludedImageIndexConverter.cs
- PenContexts.cs
- UndoEngine.cs
- TypeSystemHelpers.cs
- WCFModelStrings.Designer.cs
- TextServicesLoader.cs
- HostedElements.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- EncoderExceptionFallback.cs
- PixelFormats.cs
- Pkcs9Attribute.cs
- RemotingException.cs
- RMPermissions.cs
- ToolboxItemCollection.cs
- XmlSchemaExporter.cs
- DiscoveryMessageProperty.cs
- Container.cs
- FaultPropagationRecord.cs
- ServiceModelEnumValidator.cs
- hresults.cs
- RemotingException.cs
- SystemWebSectionGroup.cs
- CapabilitiesSection.cs
- ChannelBinding.cs
- BamlBinaryWriter.cs
- HttpModuleCollection.cs
- Profiler.cs
- CompositeActivityValidator.cs
- DetailsViewInsertedEventArgs.cs
- DisableDpiAwarenessAttribute.cs
- ModifierKeysConverter.cs
- DebugView.cs
- CodeTypeParameterCollection.cs
- File.cs
- FormViewUpdatedEventArgs.cs
- OrderedHashRepartitionStream.cs
- WebPartVerbsEventArgs.cs
- DropShadowBitmapEffect.cs
- TextSimpleMarkerProperties.cs
- WebPartsSection.cs
- SqlDelegatedTransaction.cs
- CodeTypeDelegate.cs
- InputMethodStateChangeEventArgs.cs
- X509ThumbprintKeyIdentifierClause.cs
- SqlCacheDependencyDatabaseCollection.cs
- SerializerDescriptor.cs
- QuaternionAnimation.cs
- WindowsPrincipal.cs
- GlobalizationSection.cs
- MediaCommands.cs
- DictionarySectionHandler.cs
- TextCharacters.cs
- OrderedEnumerableRowCollection.cs
- safemediahandle.cs
- MexNamedPipeBindingElement.cs
- InputMethod.cs
- ComplexLine.cs
- VirtualDirectoryMappingCollection.cs
- DiagnosticTrace.cs
- PermissionSetEnumerator.cs
- KeyTime.cs
- PrintControllerWithStatusDialog.cs
- DispatcherEventArgs.cs
- StateChangeEvent.cs
- CssTextWriter.cs
- URLIdentityPermission.cs
- SoapFault.cs
- ApplicationManager.cs
- FigureParagraph.cs
- CustomAttributeSerializer.cs
- BindingGroup.cs
- InheritedPropertyDescriptor.cs
- XmlValueConverter.cs
- DbConnectionStringCommon.cs
- ProviderConnectionPoint.cs
- LocatorPart.cs
- SpinWait.cs
- QilList.cs
- ContentFileHelper.cs
- ProfessionalColors.cs
- CompModSwitches.cs