예제 #1
0
 /// <summary>
 /// Default the properties.
 /// </summary>
 public void Default()
 {
     ActionType           = PagerAction.First;
     OperatingMode        = PagerOperatingMode.Forms;
     Url                  = string.Empty;
     PageData.TotalPages  = 1;
     PageData.CurrentPage = 1;
     NewSelectedPage      = 1;
 }
예제 #2
0
 /// <summary>
 /// Constructor to initialize properties.
 /// </summary>
 /// <param name="action"></param>
 /// <param name="pagerData"></param>
 public PagerActionContext(PagerAction action, PagerData pagerData, int newSelectedPage)
 {
     ActionType      = action;
     PageData        = pagerData;
     NewSelectedPage = newSelectedPage;
 }