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
- ResourceAttributes.cs
- ScaleTransform.cs
- OperationAbortedException.cs
- QilTernary.cs
- XmlSchemaSimpleContentRestriction.cs
- BindingExpression.cs
- TypeElement.cs
- CodeCastExpression.cs
- ByteFacetDescriptionElement.cs
- DynamicFilter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- securitycriticaldata.cs
- FlowDocumentFormatter.cs
- XPathBinder.cs
- ManagementInstaller.cs
- FileEnumerator.cs
- ResourceExpression.cs
- SuppressIldasmAttribute.cs
- ImageInfo.cs
- PriorityQueue.cs
- PolygonHotSpot.cs
- KeyGestureConverter.cs
- OleDbFactory.cs
- basecomparevalidator.cs
- DurationConverter.cs
- EntityDesignerBuildProvider.cs
- NonBatchDirectoryCompiler.cs
- XmlText.cs
- HtmlElementEventArgs.cs
- SiteMapNodeCollection.cs
- ContractReference.cs
- Evidence.cs
- DiagnosticsConfiguration.cs
- SoundPlayerAction.cs
- SessionStateItemCollection.cs
- ISessionStateStore.cs
- Message.cs
- RelativeSource.cs
- HttpProfileGroupBase.cs
- ArrayEditor.cs
- ObjectSet.cs
- SafeNativeMethodsOther.cs
- ListViewGroup.cs
- TextTabProperties.cs
- DataSetMappper.cs
- Stroke2.cs
- Polyline.cs
- DecodeHelper.cs
- RotateTransform.cs
- DataGridViewRowEventArgs.cs
- VisualBasic.cs
- PathGradientBrush.cs
- TriState.cs
- UnmanagedMemoryStream.cs
- DemultiplexingDispatchMessageFormatter.cs
- EncoderParameter.cs
- DBConcurrencyException.cs
- DataGridViewHeaderCell.cs
- BasicExpandProvider.cs
- HttpBrowserCapabilitiesWrapper.cs
- WindowsFont.cs
- XmlSchemaSimpleContentRestriction.cs
- OleDbParameter.cs
- EntityDataSourceWrapperCollection.cs
- PrincipalPermissionMode.cs
- Underline.cs
- EnvelopedPkcs7.cs
- DataGridItemEventArgs.cs
- TextEditorSpelling.cs
- HttpApplication.cs
- XPathNavigator.cs
- DataGridSortCommandEventArgs.cs
- SocketPermission.cs
- _ListenerResponseStream.cs
- TextSearch.cs
- odbcmetadatacollectionnames.cs
- MULTI_QI.cs
- ObjectDesignerDataSourceView.cs
- SplayTreeNode.cs
- SoapServerProtocol.cs
- InputProcessorProfilesLoader.cs
- DataGridViewTopRowAccessibleObject.cs
- MatrixAnimationUsingKeyFrames.cs
- ObjectComplexPropertyMapping.cs
- PasswordRecoveryDesigner.cs
- PerformanceCounterPermission.cs
- QilLiteral.cs
- mediapermission.cs
- ListBox.cs
- SequentialActivityDesigner.cs
- EpmSyndicationContentSerializer.cs
- FocusWithinProperty.cs
- ModelItemCollection.cs
- NaturalLanguageHyphenator.cs
- TabItem.cs
- ToolBarTray.cs
- WindowsUpDown.cs
- DefaultAsyncDataDispatcher.cs
- TemplateColumn.cs
- DbMetaDataColumnNames.cs