C# Class Nop.Web.Framework.UI.Paging.Pager

Renders a pager component from an IPageableModel datasource.
Inheritance: IHtmlString
Mostra file Open project: emilianionascu/NopCommerce

Protected Properties

Property Type Description
booleanParameterNames IList
individualPagesDisplayedCount int
model IPageableModel
pageQueryName string
showFirst bool
showIndividualPages bool
showLast bool
showNext bool
showPagerItems bool
showPrevious bool
showTotalSummary bool
urlBuilder string>.Func
viewContext System.Web.Mvc.ViewContext

Public Methods

Method Description
BooleanParameterName ( string paramName ) : Pager
IndividualPagesDisplayedCount ( int value ) : Pager
Link ( string>.Func value ) : Pager
Pager ( IPageableModel model, System.Web.Mvc.ViewContext context ) : System
QueryParam ( string value ) : Pager
ShowFirst ( bool value ) : Pager
ShowIndividualPages ( bool value ) : Pager
ShowLast ( bool value ) : Pager
ShowNext ( bool value ) : Pager
ShowPagerItems ( bool value ) : Pager
ShowPrevious ( bool value ) : Pager
ShowTotalSummary ( bool value ) : Pager
ToHtmlString ( ) : string
ToString ( ) : string

Protected Methods

Method Description
CreateDefaultUrl ( int pageNumber ) : string
CreatePageLink ( int pageNumber, string text, string cssClass ) : string
GetFirstIndividualPageIndex ( ) : int
GetLastIndividualPageIndex ( ) : int

Method Details

BooleanParameterName() public method

public BooleanParameterName ( string paramName ) : Pager
paramName string
return Pager

CreateDefaultUrl() protected method

protected CreateDefaultUrl ( int pageNumber ) : string
pageNumber int
return string

CreatePageLink() protected method

protected CreatePageLink ( int pageNumber, string text, string cssClass ) : string
pageNumber int
text string
cssClass string
return string

GetFirstIndividualPageIndex() protected method

protected GetFirstIndividualPageIndex ( ) : int
return int

GetLastIndividualPageIndex() protected method

protected GetLastIndividualPageIndex ( ) : int
return int

IndividualPagesDisplayedCount() public method

public IndividualPagesDisplayedCount ( int value ) : Pager
value int
return Pager

Link() public method

public Link ( string>.Func value ) : Pager
value string>.Func
return Pager

Pager() public method

public Pager ( IPageableModel model, System.Web.Mvc.ViewContext context ) : System
model IPageableModel
context System.Web.Mvc.ViewContext
return System

QueryParam() public method

public QueryParam ( string value ) : Pager
value string
return Pager

ShowFirst() public method

public ShowFirst ( bool value ) : Pager
value bool
return Pager

ShowIndividualPages() public method

public ShowIndividualPages ( bool value ) : Pager
value bool
return Pager

ShowLast() public method

public ShowLast ( bool value ) : Pager
value bool
return Pager

ShowNext() public method

public ShowNext ( bool value ) : Pager
value bool
return Pager

ShowPagerItems() public method

public ShowPagerItems ( bool value ) : Pager
value bool
return Pager

ShowPrevious() public method

public ShowPrevious ( bool value ) : Pager
value bool
return Pager

ShowTotalSummary() public method

public ShowTotalSummary ( bool value ) : Pager
value bool
return Pager

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Property Details

booleanParameterNames protected_oe property

protected IList booleanParameterNames
return IList

individualPagesDisplayedCount protected_oe property

protected int individualPagesDisplayedCount
return int

model protected_oe property

protected IPageableModel model
return IPageableModel

pageQueryName protected_oe property

protected string pageQueryName
return string

showFirst protected_oe property

protected bool showFirst
return bool

showIndividualPages protected_oe property

protected bool showIndividualPages
return bool

showLast protected_oe property

protected bool showLast
return bool

showNext protected_oe property

protected bool showNext
return bool

showPagerItems protected_oe property

protected bool showPagerItems
return bool

showPrevious protected_oe property

protected bool showPrevious
return bool

showTotalSummary protected_oe property

protected bool showTotalSummary
return bool

urlBuilder protected_oe property

protected Func urlBuilder
return string>.Func

viewContext protected_oe property

protected ViewContext,System.Web.Mvc viewContext
return System.Web.Mvc.ViewContext