PageViewModel
Class
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:
C#
public class PageViewModel
Inheritance: objectPageViewModel
Constructors
Initializes a new instance of the PageViewModel class.
C#
public PageViewModel(object content, int pageIndex, bool isCurrent, string groupName, Style numericButtonStyle)
The content.
pageIndexintIndex of the page.
isCurrentboolIf set to true [is current].
Name of the group.
numericButtonStyleStyleThe numeric button style.
Properties
Gets or sets the content.
C#
public object Content { get; }
The content.
Gets or sets the name of the group used as a RadioButton group for the pages.
C#
public string GroupName { get; }
The name of the group.
Gets or sets a value indicating whether this instance is current.
C#
public bool IsCurrent { get; }
true if this instance is current; otherwise, false.
NumericButtonStyle
Style
Gets or sets the numeric button style.
C#
public Style NumericButtonStyle { get; }
The numeric button style.