C# 클래스 X.PagedList.Mvc.HtmlHelper

Extension methods for generating paging controls that can operate on instances of IPagedList.
파일 보기 프로젝트 열기: kpi-ua/X.PagedList

공개 메소드들

메소드 설명
PagedListGoToPageForm ( this html, IPagedList list, string formAction ) : System.Web.HtmlString

Displays a configurable "Go To Page:" form for instances of PagedList.

PagedListGoToPageForm ( this html, IPagedList list, string formAction, GoToFormRenderOptions options ) : System.Web.HtmlString

Displays a configurable "Go To Page:" form for instances of PagedList.

PagedListGoToPageForm ( this html, IPagedList list, string formAction, string inputFieldName ) : System.Web.HtmlString

Displays a configurable "Go To Page:" form for instances of PagedList.

PagedListPager ( this html, IPagedList list, string>.Func generatePageUrl ) : System.Web.HtmlString

Displays a configurable paging control for instances of PagedList.

PagedListPager ( this html, IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : System.Web.HtmlString

Displays a configurable paging control for instances of PagedList.

비공개 메소드들

메소드 설명
AppendHtml ( TagBuilder tagBuilder, string innerHtml ) : void
Ellipses ( PagedListRenderOptions options ) : TagBuilder
First ( IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : TagBuilder
ItemSliceAndTotalText ( IPagedList list, PagedListRenderOptions options ) : TagBuilder
Last ( IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : TagBuilder
Next ( IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : TagBuilder
Page ( int i, IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : TagBuilder
PageCountAndLocationText ( IPagedList list, PagedListRenderOptions options ) : TagBuilder
Previous ( IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : TagBuilder
SetInnerText ( TagBuilder tagBuilder, string innerText ) : void
TagBuilderToString ( TagBuilder tagBuilder ) : string
TagBuilderToString ( TagBuilder tagBuilder, TagRenderMode renderMode ) : string
WrapInListItem ( TagBuilder inner, PagedListRenderOptions options ) : TagBuilder
WrapInListItem ( string text ) : TagBuilder

메소드 상세

PagedListGoToPageForm() 공개 정적인 메소드

Displays a configurable "Go To Page:" form for instances of PagedList.
public static PagedListGoToPageForm ( this html, IPagedList list, string formAction ) : System.Web.HtmlString
html this This method is meant to hook off HtmlHelper as an extension method.
list IPagedList The PagedList to use as the data source.
formAction string The URL this form should submit the GET request to.
리턴 System.Web.HtmlString

PagedListGoToPageForm() 공개 정적인 메소드

Displays a configurable "Go To Page:" form for instances of PagedList.
public static PagedListGoToPageForm ( this html, IPagedList list, string formAction, GoToFormRenderOptions options ) : System.Web.HtmlString
html this This method is meant to hook off HtmlHelper as an extension method.
list IPagedList The PagedList to use as the data source.
formAction string The URL this form should submit the GET request to.
options GoToFormRenderOptions Formatting options.
리턴 System.Web.HtmlString

PagedListGoToPageForm() 공개 정적인 메소드

Displays a configurable "Go To Page:" form for instances of PagedList.
public static PagedListGoToPageForm ( this html, IPagedList list, string formAction, string inputFieldName ) : System.Web.HtmlString
html this This method is meant to hook off HtmlHelper as an extension method.
list IPagedList The PagedList to use as the data source.
formAction string The URL this form should submit the GET request to.
inputFieldName string The querystring key this form should submit the new page number as.
리턴 System.Web.HtmlString

PagedListPager() 공개 정적인 메소드

Displays a configurable paging control for instances of PagedList.
public static PagedListPager ( this html, IPagedList list, string>.Func generatePageUrl ) : System.Web.HtmlString
html this This method is meant to hook off HtmlHelper as an extension method.
list IPagedList The PagedList to use as the data source.
generatePageUrl string>.Func A function that takes the page number of the desired page and returns a URL-string that will load that page.
리턴 System.Web.HtmlString

PagedListPager() 공개 정적인 메소드

Displays a configurable paging control for instances of PagedList.
public static PagedListPager ( this html, IPagedList list, string>.Func generatePageUrl, PagedListRenderOptions options ) : System.Web.HtmlString
html this This method is meant to hook off HtmlHelper as an extension method.
list IPagedList The PagedList to use as the data source.
generatePageUrl string>.Func A function that takes the page number of the desired page and returns a URL-string that will load that page.
options PagedListRenderOptions Formatting options.
리턴 System.Web.HtmlString