ClassRadDataPager
Provides a user interface for paging through a collection of data.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
[TelerikToolboxCategory("Data")]
public class RadDataPager : Control
Inheritance: objectRadDataPager
Constructors
RadDataPager()
Initializes a new instance of the RadDataPager class.
Declaration
public RadDataPager()
Fields
AutoEllipsisModeProperty
Identifies the AutoEllipsisMode dependency property.
Declaration
public static readonly DependencyProperty AutoEllipsisModeProperty
Field Value
DependencyProperty
CanChangePageProperty
Identifies the CanChangePage dependency property.
Declaration
public static readonly DependencyProperty CanChangePageProperty
Field Value
DependencyProperty
The identifier for the CanChangePage dependency property.
CanMoveToFirstPageProperty
Identifies the CanMoveToFirstPage dependency property.
Declaration
public static readonly DependencyProperty CanMoveToFirstPageProperty
Field Value
DependencyProperty
The identifier for the CanMoveToFirstPage dependency property.
CanMoveToLastPageProperty
Identifies the CanMoveToLastPage dependency property.
Declaration
public static readonly DependencyProperty CanMoveToLastPageProperty
Field Value
DependencyProperty
The identifier for the CanMoveToLastPage dependency property.
CanMoveToNextPageProperty
Identifies the CanMoveToNextPage dependency property.
Declaration
public static readonly DependencyProperty CanMoveToNextPageProperty
Field Value
DependencyProperty
The identifier for the CanMoveToNextPage dependency property.
CanMoveToPreviousPageProperty
Identifies the CanMoveToPreviousPage dependency property.
Declaration
public static readonly DependencyProperty CanMoveToPreviousPageProperty
Field Value
DependencyProperty
The identifier for the CanMoveToPreviousPage dependency property.
DisplayModeProperty
Identifies the DisplayMode dependency property.
Declaration
public static readonly DependencyProperty DisplayModeProperty
Field Value
DependencyProperty
IsTotalItemCountFixedProperty
Identifies the IsTotalItemCountFixed dependency property.
Declaration
public static readonly DependencyProperty IsTotalItemCountFixedProperty
Field Value
DependencyProperty
ItemCountProperty
Identifies the ItemCount dependency property.
Declaration
public static readonly DependencyProperty ItemCountProperty
Field Value
DependencyProperty
NumericButtonCountProperty
Identifies the NumericButtonCount dependency property.
Declaration
public static readonly DependencyProperty NumericButtonCountProperty
Field Value
DependencyProperty
NumericButtonStyleProperty
Identifies the NumericButtonStyle dependency property.
Declaration
public static readonly DependencyProperty NumericButtonStyleProperty
Field Value
DependencyProperty
PageCountProperty
Identifies the PageCount dependency property.
Declaration
public static readonly DependencyProperty PageCountProperty
Field Value
DependencyProperty
PageIndexProperty
Identifies the PageIndex dependency property.
Declaration
public static readonly DependencyProperty PageIndexProperty
Field Value
DependencyProperty
PageSizeProperty
Identifies the PageSize dependency property.
Declaration
public static readonly DependencyProperty PageSizeProperty
Field Value
DependencyProperty
PagedSourceProperty
Identifies the PagedSource dependency property.
Declaration
public static readonly DependencyProperty PagedSourceProperty
Field Value
DependencyProperty
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
DependencyProperty
TextBoxStyleProperty
Identifies the TextBoxStyle dependency property.
Declaration
public static readonly DependencyProperty TextBoxStyleProperty
Field Value
DependencyProperty
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
true if this user can move to another page; otherwise, false.
CanMoveToFirstPage
Gets a value that indicates whether the user can move to the first page.
Declaration
public bool CanMoveToFirstPage { get; }
Property Value
true if this user can move to the first page; otherwise, false.
CanMoveToLastPage
Gets a value that indicates whether the user can move to the last page.
Declaration
public bool CanMoveToLastPage { get; }
Property Value
true if this user can move to the last page; otherwise, false.
CanMoveToNextPage
Gets a value that indicates whether the user can move to the next page.
Declaration
public bool CanMoveToNextPage { get; }
Property Value
true if this user can move to the next page; otherwise, false.
CanMoveToPreviousPage
Gets a value that indicates whether the user can move to the previous page.
Declaration
public bool CanMoveToPreviousPage { get; }
Property Value
true if this user can move to the previous page; otherwise, false.
DisplayMode
Gets or sets the pager display mode.
Declaration
public PagerDisplayModes DisplayMode { get; set; }
Property Value
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
true if the total item count fixed; otherwise, false.
ItemCount
Gets or sets the current number of known items in the .
NumericButtonCount
Gets or sets the numeric button count.
Declaration
public int NumericButtonCount { get; set; }
Property Value
The numeric button count.
NumericButtonStyle
Gets or sets the numeric and ellipsis buttons style.
Declaration
public Style NumericButtonStyle { get; set; }
Property Value
Style
The numeric button style.
PageCount
Gets the current number of pages in the .
PageIndex
Gets or sets the current in the .
Declaration
public int PageIndex { get; set; }
Property Value
The index of the page.
PageSize
Gets or sets the current in the .
PagedSource
Gets the paged source.
Declaration
public IPagedCollectionView PagedSource { get; }
Property Value
The paged source.
Remarks
Binding the ItemsSource property of an ItemsControl to the PagedSource property will enable paging for this control through RadDataPager.
Source
Gets or sets the data collection that the RadDataPager controls paging for.
Declaration
public IEnumerable Source { get; set; }
Property Value
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
Style
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
was called without having previously been called on the element.
MoveToFirstPage()
Sets the first page as the current page.
Declaration
public bool MoveToFirstPage()
Returns
true if this operation was successful; otherwise, false.
MoveToLastPage()
Sets the last page as the current page.
Declaration
public bool MoveToLastPage()
Returns
true if this operation was successful; otherwise, false.
MoveToNextPage()
Moves to the page after the current page.
Declaration
public bool MoveToNextPage()
Returns
true if this operation was successful; otherwise, false.
MoveToPage(int)
Moves to the page at the specified index.
MoveToPreviousPage()
Moves to the page before the current page.
Declaration
public bool MoveToPreviousPage()
Returns
true if this operation was successful; otherwise, false.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The class-specific AutomationPeer subclass to return.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnPageIndexChanged(PageIndexChangedEventArgs)
Raises the event.
Declaration
protected virtual void OnPageIndexChanged(PageIndexChangedEventArgs args)
Parameters
args
The PageIndexChangedEventArgs instance containing the event data.
OnPageIndexChanging(PageIndexChangingEventArgs)
Raises the event.
Declaration
protected virtual void OnPageIndexChanging(PageIndexChangingEventArgs args)
Parameters
args
The PageIndexChangingEventArgs instance containing the event data.
Events
PageIndexChanged
Occurs when the page index has changed.
Declaration
public event EventHandler<PageIndexChangedEventArgs> PageIndexChanged
Event Value
PageIndexChanging
Occurs when the page index is about to change.
Declaration
public event EventHandler<PageIndexChangingEventArgs> PageIndexChanging
Event Value