SaaS CMS has officially launched! Learn more now.

Class PagerPosition

Used by the Pager to handle UI pageing. This class is responsible for handling the position of the pager.

Inheritance
System.Object
PagerPosition
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Web.Mvc.Html
Assembly: EPiServer.Shell.dll
Version: 7.19.2
Syntax
public class PagerPosition

Constructors

PagerPosition(Int32, String, Boolean)

Initializes a new instance of the PagerPosition class.

Declaration
public PagerPosition(int index, string name, bool isCurrent)
Parameters
Type Name Description
System.Int32 index

The index for this pag.

System.String name

The name that will be displayed when rendered.

System.Boolean isCurrent

Indicates if this is the currently active page

Properties

Index

The index for this page.

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32

IsCurrent

Indicates if this is the currently active page.

Declaration
public bool IsCurrent { get; set; }
Property Value
Type Description
System.Boolean

Name

The name that will be displayed when rendered.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Extension Methods