Class PageViewModel
Provides UI properties to be used when displaying a page in the numeric section of the pager.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Data.DataPager
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class PageViewModel
Constructors
PageViewModel(Object, Int32, Boolean, String, Style)
Initializes a new instance of the PageViewModel class.
Declaration
public PageViewModel(object content, int pageIndex, bool isCurrent, string groupName, Style numericButtonStyle)
Parameters
System.Object
content
The content. |
System.Int32
pageIndex
Index of the page. |
System.Boolean
isCurrent
If set to |
System.String
groupName
Name of the group. |
System.Windows.Style
numericButtonStyle
The numeric button style. |
Properties
Content
Gets or sets the content.
Declaration
public object Content { get; }
Property Value
System.Object
The content. |
GroupName
Gets or sets the name of the group used as a RadioButton group for the pages.
Declaration
public string GroupName { get; }
Property Value
System.String
The name of the group. |
IsCurrent
Gets or sets a value indicating whether this instance is current.
Declaration
public bool IsCurrent { get; }
Property Value
System.Boolean
|
NumericButtonStyle
Gets or sets the numeric button style.
Declaration
public Style NumericButtonStyle { get; }
Property Value
System.Windows.Style
The numeric button style. |
PageIndex
Gets or sets the index of the page.
Declaration
public int PageIndex { get; }
Property Value
System.Int32
The index of the page. |