메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 |
public AlwaysShowNavigation ( bool alwaysShowNavigation ) : |
||
alwaysShowNavigation | bool | |
리턴 |
public DisabledCssClass ( string disabledCssClass ) : |
||
disabledCssClass | string | |
리턴 |
public FirstCssClass ( string firstCssClass ) : |
||
firstCssClass | string | |
리턴 |
public FirstText ( string firstText ) : |
||
firstText | string | |
리턴 |
public ItemTemplate ( HelperResult>.Func |
||
itemTempate | HelperResult>.Func | |
리턴 |
public LastCssClass ( string lastCssClass ) : |
||
lastCssClass | string | |
리턴 |
public LastText ( string lastText ) : |
||
lastText | string | |
리턴 |
public LayoutTemplate ( HelperResult>.Func |
||
layoutTemplate | HelperResult>.Func | |
리턴 |
public LinkTemplate ( HelperResult>.Func |
||
linkTemplate | HelperResult>.Func | |
리턴 |
public MaxNumberOfTrailingLeadingPages ( int maxNumberOfTrailingLeadingPages ) : |
||
maxNumberOfTrailingLeadingPages | int | |
리턴 |
public NextCssClass ( string nextCssClass ) : |
||
nextCssClass | string | |
리턴 |
public NextPrevious ( string previousText ) : |
||
previousText | string | |
리턴 |
public NextText ( string nextText ) : |
||
nextText | string | |
리턴 |
public PageCssClass ( string pageCssClass ) : |
||
pageCssClass | string | |
리턴 |
public PageUrlBuilder ( string>.Func |
||
pageUrlBuilder | string>.Func | |
리턴 |
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 |
리턴 | System |
public PreviousCssClass ( string previousCssClass ) : |
||
previousCssClass | string | |
리턴 |