Méthode | Description | |
---|---|---|
ActiveCssClass ( string activeCssClass ) : |
Set the \"active\" css class
|
|
AlwaysShowNavigation ( bool alwaysShowNavigation ) : |
The first/previous/next/last links will be hidden if they are not valid. This bool will allow you to always render them, but render them disabled (javascript:void() with disabledCssClass).
|
|
DisabledCssClass ( string disabledCssClass ) : |
Set the \"disabled\" css class
|
|
FirstCssClass ( string firstCssClass ) : |
Set the \"first\" css class
|
|
FirstText ( string firstText ) : |
Set the 'First' link text'.
|
|
ItemTemplate ( HelperResult>.Func |
Set the item template to use. ------------- Default -------------
|
|
LastCssClass ( string lastCssClass ) : |
Set the \"last\" css class
|
|
LastText ( string lastText ) : |
Set the 'Last' link text'.
|
|
LayoutTemplate ( HelperResult>.Func |
Set the layout template to use. ------------- Default -------------
|
|
LinkTemplate ( HelperResult>.Func |
Set the link template to use. ------------- Default ------------- @item.LinkText -------------
|
|
MaxNumberOfTrailingLeadingPages ( int maxNumberOfTrailingLeadingPages ) : |
Sets the maximum number of trailing/leading pages. For example: MaxNumberOfTrailingLeadingPages(2); [1] - 2 - 3 - 4 - 5 3 - 4 - [5] - 6 - 7 5 - 6 - 7 - 8 - [9] MaxNumberOfTrailingLeadingPages(3); [1] - 2 - 3 - 4 - 5 - 6 - 7 2 - 3 - 4 - [5] - 6 - 7 - 8 3 - 4 - 5 - 6 - 7 - 8 - [9]
|
|
NextCssClass ( string nextCssClass ) : |
Set the \"next\" css class
|
|
NextPrevious ( string previousText ) : |
Set the 'Previous' link text'.
|
|
NextText ( string nextText ) : |
Set the 'Next' link text'.
|
|
PageCssClass ( string pageCssClass ) : |
Set the \"page\" css class
|
|
PageUrlBuilder ( string>.Func |
Set the page-url builder that will be invoked when rendering pieces need a url to a page.
|
|
PagingLinksBuilder ( int currentPage, int totalPages, string>.Func |
Initializes a new PagingLinksBuilder
|
|
PreviousCssClass ( string previousCssClass ) : |
Set the \"previous\" css class
|
|
ToHtmlString ( ) : string |
Méthode | Description | |
---|---|---|
BuildItem ( string text, int pageNumber, LinkType linkType ) : System.Web.WebPages.HelperResult |
Builds an item (and the link nested within it)
|
|
BuildPageRange ( Action |
Builds the 'nearby' pages (21, 22, 23, 24, 25), etc.
|
|
InitializeDefaults ( ) : void |
Initialize all the default values.
|
public ActiveCssClass ( string activeCssClass ) : |
||
activeCssClass | string | |
Résultat |
public AlwaysShowNavigation ( bool alwaysShowNavigation ) : |
||
alwaysShowNavigation | bool | |
Résultat |
public DisabledCssClass ( string disabledCssClass ) : |
||
disabledCssClass | string | |
Résultat |
public FirstCssClass ( string firstCssClass ) : |
||
firstCssClass | string | |
Résultat |
public FirstText ( string firstText ) : |
||
firstText | string | |
Résultat |
public ItemTemplate ( HelperResult>.Func |
||
itemTempate | HelperResult>.Func | |
Résultat |
public LastCssClass ( string lastCssClass ) : |
||
lastCssClass | string | |
Résultat |
public LastText ( string lastText ) : |
||
lastText | string | |
Résultat |
public LayoutTemplate ( HelperResult>.Func |
||
layoutTemplate | HelperResult>.Func | |
Résultat |
public LinkTemplate ( HelperResult>.Func |
||
linkTemplate | HelperResult>.Func | |
Résultat |
public MaxNumberOfTrailingLeadingPages ( int maxNumberOfTrailingLeadingPages ) : |
||
maxNumberOfTrailingLeadingPages | int | |
Résultat |
public NextCssClass ( string nextCssClass ) : |
||
nextCssClass | string | |
Résultat |
public NextPrevious ( string previousText ) : |
||
previousText | string | |
Résultat |
public NextText ( string nextText ) : |
||
nextText | string | |
Résultat |
public PageCssClass ( string pageCssClass ) : |
||
pageCssClass | string | |
Résultat |
public PageUrlBuilder ( string>.Func |
||
pageUrlBuilder | string>.Func | |
Résultat |
public PagingLinksBuilder ( int currentPage, int totalPages, string>.Func |
||
currentPage | int | |
totalPages | int | |
pageUrlBuilder | string>.Func | The delegate that will be used to be page urls, for example: /category?page=1 |
Résultat | System |
public PreviousCssClass ( string previousCssClass ) : |
||
previousCssClass | string | |
Résultat |