Class PageViewModel
Provides UI properties to be used when displaying a page in the numeric section of the pager.
Inheritance
Namespace: Telerik.Windows.Controls.Data.DataPager
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class PageViewModel : Object
Constructors
PageViewModel(Object, Int32, Boolean, String, Style)
Initializes a new instance of the Page
Declaration
public PageViewModel(object content, int pageIndex, bool isCurrent, string groupName, Style numericButtonStyle)
Parameters
System. The content. |
System. Index of the page. |
System. If set to |
System. Name of the group. |
System. The numeric button style. |
Properties
Content
Gets or sets the content.
Declaration
public object Content { get; }
Property Value
System. 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. 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.
|
NumericButtonStyle
Gets or sets the numeric button style.
Declaration
public Style NumericButtonStyle { get; }
Property Value
System. The numeric button style. |
PageIndex
Gets or sets the index of the page.
Declaration
public int PageIndex { get; }
Property Value
System. The index of the page. |