ClassPageViewModel
Provides UI properties to be used when displaying a page in the numeric section of the pager.
Definition
Namespace:Telerik.Windows.Controls.Data.DataPager
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class PageViewModel
Inheritance: objectPageViewModel
Constructors
PageViewModel(object, int, bool, string, Style)
Initializes a new instance of the PageViewModel class.
Declaration
public PageViewModel(object content, int pageIndex, bool isCurrent, string groupName, Style numericButtonStyle)
Parameters
content
The content.
pageIndex
Index of the page.
isCurrent
If set to true [is current].
groupName
Name of the group.
numericButtonStyle
Style
The numeric button style.
Properties
Content
Gets or sets 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
The name of the group.
IsCurrent
Gets or sets a value indicating whether this instance is current.
Declaration
public bool IsCurrent { get; }
Property Value
true if this instance is current; otherwise, false.
NumericButtonStyle
Gets or sets the numeric button style.
Declaration
public Style NumericButtonStyle { get; }
Property Value
Style
The numeric button style.