C# Class MvcPaging.PagerOptions.Defaults

The static Defaults class allows you to set Pager defaults for the entire application. Set values at application startup.
Show file Open project: martijnboland/MvcPaging

Public Properties

Property Type Description
AlwaysAddFirstPageNumber bool
DefaultPageRouteValueKey string
DisplayFirstPage bool
DisplayLastPage bool
DisplayTemplate string
FirstPageText string
FirstPageTitle string
LastPageText string
LastPageTitle string
MaxNrOfPages int
NextPageText string
NextPageTitle string
PreviousPageText string
PreviousPageTitle string
UseItemCountAsPageCount bool

Public Methods

Method Description
Reset ( ) : void

Method Details

Reset() public static method

public static Reset ( ) : void
return void

Property Details

AlwaysAddFirstPageNumber public static property

public static bool AlwaysAddFirstPageNumber
return bool

DefaultPageRouteValueKey public static property

public static string DefaultPageRouteValueKey
return string

DisplayFirstPage public static property

public static bool DisplayFirstPage
return bool

DisplayLastPage public static property

public static bool DisplayLastPage
return bool

DisplayTemplate public static property

public static string DisplayTemplate
return string

FirstPageText public static property

public static string FirstPageText
return string

FirstPageTitle public static property

public static string FirstPageTitle
return string

LastPageText public static property

public static string LastPageText
return string

LastPageTitle public static property

public static string LastPageTitle
return string

MaxNrOfPages public static property

public static int MaxNrOfPages
return int

NextPageText public static property

public static string NextPageText
return string

NextPageTitle public static property

public static string NextPageTitle
return string

PreviousPageText public static property

public static string PreviousPageText
return string

PreviousPageTitle public static property

public static string PreviousPageTitle
return string

UseItemCountAsPageCount public static property

public static bool UseItemCountAsPageCount
return bool