Class PagesViewModel
Represents the pages to be displayed.
Inheritance
Namespace: Telerik.Windows.Controls.Data.DataPager
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class PagesViewModel : Object
Constructors
PagesViewModel(Int32, Int32, Int32, AutoEllipsisModes)
Initializes a new instance of the PagesViewModel class.
Declaration
public PagesViewModel(int numericButtonCount, int pageIndex, int pageCount, AutoEllipsisModes autoEllipsisMode)
Parameters
System.Int32
numericButtonCount
The numeric button count. |
System.Int32
pageIndex
Index of the page. |
System.Int32
pageCount
The page count. |
AutoEllipsisModes
autoEllipsisMode
The auto ellipsis mode. |
PagesViewModel(Int32, Int32, Int32, AutoEllipsisModes, Style)
Initializes a new instance of the PagesViewModel class.
Declaration
public PagesViewModel(int numericButtonCount, int pageIndex, int pageCount, AutoEllipsisModes autoEllipsisMode, Style numericButtonStyle)
Parameters
System.Int32
numericButtonCount
The numeric button count. |
System.Int32
pageIndex
Index of the page. |
System.Int32
pageCount
The page count. |
AutoEllipsisModes
autoEllipsisMode
The auto ellipsis mode. |
System.Windows.Style
numericButtonStyle
The numeric button style. |
Properties
Pages
Gets the pages to be displayed.
Declaration
public ObservableCollection<PageViewModel> Pages { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<PageViewModel>
The pages. |