e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="PageEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Collections.Specialized;
|
|
using System.ComponentModel;
|
|
using System.Web.UI;
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
|
|
public class PageEventArgs : EventArgs {
|
|
private int _startRowIndex;
|
|
private int _maximumRows;
|
|
private int _totalRowCount;
|
|
|
|
public PageEventArgs(int startRowIndex, int maximumRows, int totalRowCount) {
|
|
_startRowIndex = startRowIndex;
|
|
_maximumRows = maximumRows;
|
|
_totalRowCount = totalRowCount;
|
|
}
|
|
|
|
public int MaximumRows {
|
|
get {
|
|
return _maximumRows;
|
|
}
|
|
}
|
|
|
|
public int StartRowIndex {
|
|
get {
|
|
return _startRowIndex;
|
|
}
|
|
}
|
|
|
|
public int TotalRowCount {
|
|
get {
|
|
return _totalRowCount;
|
|
}
|
|
}
|
|
}
|
|
}
|