Class RadDataPager
Provides a user interface for paging through a collection of data.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
[TelerikToolboxCategory("Data")]
public class RadDataPager : Control, IThemable
Constructors
RadDataPager()
Fields
AutoEllipsisModeProperty
Identifies the Auto
Declaration
public static readonly DependencyProperty AutoEllipsisModeProperty
Field Value
System.
|
CanChangePageProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanChangePageProperty
Field Value
System. The identifier for the Can |
CanMoveToFirstPageProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanMoveToFirstPageProperty
Field Value
System. The identifier for the Can |
CanMoveToLastPageProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanMoveToLastPageProperty
Field Value
System. The identifier for the Can |
CanMoveToNextPageProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanMoveToNextPageProperty
Field Value
System. The identifier for the Can |
CanMoveToPreviousPageProperty
Identifies the Can
Declaration
public static readonly DependencyProperty CanMoveToPreviousPageProperty
Field Value
System. The identifier for the Can |
DisplayModeProperty
Identifies the Display
Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
System.
|
IsTotalItemCountFixedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsTotalItemCountFixedProperty
Field Value
System.
|
ItemCountProperty
Identifies the Item
Declaration
public static readonly DependencyProperty ItemCountProperty
Field Value
System.
|
NumericButtonCountProperty
Identifies the Numeric
Declaration
public static readonly DependencyProperty NumericButtonCountProperty
Field Value
System.
|
NumericButtonStyleProperty
Identifies the Numeric
Declaration
public static readonly DependencyProperty NumericButtonStyleProperty
Field Value
System.
|
PageCountProperty
Identifies the Page
Declaration
public static readonly DependencyProperty PageCountProperty
Field Value
System.
|
PagedSourceProperty
Identifies the Paged
Declaration
public static readonly DependencyProperty PagedSourceProperty
Field Value
System.
|
PageIndexProperty
Identifies the Page
Declaration
public static readonly DependencyProperty PageIndexProperty
Field Value
System.
|
PageSizeProperty
Identifies the Page
Declaration
public static readonly DependencyProperty PageSizeProperty
Field Value
System.
|
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.
|
TextBoxStyleProperty
Identifies the Text
Declaration
public static readonly DependencyProperty TextBoxStyleProperty
Field Value
System.
|
Properties
AutoEllipsisMode
Gets or sets a value indicating whether ellipsis will be shown.
Declaration
public AutoEllipsisModes AutoEllipsisMode { get; set; }
Property Value
CanChangePage
Gets a value that indicates whether the user can move to another page.
Declaration
public bool CanChangePage { get; }
Property Value
System.
|
CanMoveToFirstPage
Gets a value that indicates whether the user can move to the first page.
Declaration
public bool CanMoveToFirstPage { get; }
Property Value
System.
|
CanMoveToLastPage
Gets a value that indicates whether the user can move to the last page.
Declaration
public bool CanMoveToLastPage { get; }
Property Value
System.
|
CanMoveToNextPage
Gets a value that indicates whether the user can move to the next page.
Declaration
public bool CanMoveToNextPage { get; }
Property Value
System.
|
CanMoveToPreviousPage
Gets a value that indicates whether the user can move to the previous page.
Declaration
public bool CanMoveToPreviousPage { get; }
Property Value
System.
|
DisplayMode
Gets or sets the pager display mode.
Declaration
public PagerDisplayModes DisplayMode { get; set; }
Property Value
Pager The pager display mode. |
IsTotalItemCountFixed
Gets or sets a value that indicates whether or not the total number of items in the collection is fixed.
Declaration
public bool IsTotalItemCountFixed { get; set; }
Property Value
System.
|
ItemCount
Gets or sets the current number of known items in the
System.
Declaration
public int ItemCount { get; set; }
Property Value
System. The item count. |
NumericButtonCount
Gets or sets the numeric button count.
Declaration
public int NumericButtonCount { get; set; }
Property Value
System. The numeric button count. |
NumericButtonStyle
Gets or sets the numeric and ellipsis buttons style.
Declaration
public Style NumericButtonStyle { get; set; }
Property Value
System. The numeric button style. |
PageCount
Gets the current number of pages in the
System.
Declaration
public int PageCount { get; }
Property Value
System. The page count. |
PagedSource
Gets the paged source.
Declaration
public IPagedCollectionView PagedSource { get; }
Property Value
IPaged The paged source. |
Remarks
Binding the ItemsSource property of an ItemsControl to the PagedSource property will enable paging for this control through RadDataPager.
PageIndex
Gets or sets the current System.
Declaration
public int PageIndex { get; set; }
Property Value
System. The index of the page. |
PageSize
Gets or sets the current System.
Declaration
public int PageSize { get; set; }
Property Value
System. The page size. |
Source
Gets or sets the data collection that the Rad
Declaration
public IEnumerable Source { get; set; }
Property Value
System. The data collection associated with this pager control. |
TextBoxStyle
Gets or sets the page text box style.
Declaration
public Style TextBoxStyle { get; set; }
Property Value
System. The page text box style. |
Methods
BeginInit()
Starts the initialization process for this element.
Declaration
public override void BeginInit()
EndInit()
Indicates that the initialization process for the element is complete.
Declaration
public override void EndInit()
Exceptions
System. System. |
MoveToFirstPage()
Sets the first page as the current page.
Declaration
public bool MoveToFirstPage()
Returns
System.
|
MoveToLastPage()
Sets the last page as the current page.
Declaration
public bool MoveToLastPage()
Returns
System.
|
MoveToNextPage()
Moves to the page after the current page.
Declaration
public bool MoveToNextPage()
Returns
System.
|
MoveToPage(Int32)
Moves to the page at the specified index.
Declaration
public bool MoveToPage(int pageIndex)
Parameters
System. The index of the page to move to. |
Returns
System.
|
MoveToPreviousPage()
Moves to the page before the current page.
Declaration
public bool MoveToPreviousPage()
Returns
System.
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever
application code or internal processes call
System.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
When implemented in a derived class, returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The class-specific System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnPageIndexChanged(PageIndexChangedEventArgs)
Raises the Page
Declaration
protected virtual void OnPageIndexChanged(PageIndexChangedEventArgs args)
Parameters
Page The Page |
OnPageIndexChanging(PageIndexChangingEventArgs)
Raises the Page
Declaration
protected virtual void OnPageIndexChanging(PageIndexChangingEventArgs args)
Parameters
Page The Page |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
Events
PageIndexChanged
Occurs when the page index has changed.
Declaration
public event EventHandler<PageIndexChangedEventArgs> PageIndexChanged
Event Type
System.
|
PageIndexChanging
Occurs when the page index is about to change.
Declaration
public event EventHandler<PageIndexChangingEventArgs> PageIndexChanging
Event Type
System.
|