RadDataPager
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
Initializes a new instance of the RadDataPager class.
public RadDataPager()
Fields
AutoEllipsisModeProperty
DependencyProperty
Identifies the AutoEllipsisMode dependency property.
public static readonly DependencyProperty AutoEllipsisModeProperty
CanChangePageProperty
DependencyProperty
Identifies the CanChangePage dependency property.
public static readonly DependencyProperty CanChangePageProperty
The identifier for the CanChangePage dependency property.
CanMoveToFirstPageProperty
DependencyProperty
Identifies the CanMoveToFirstPage dependency property.
public static readonly DependencyProperty CanMoveToFirstPageProperty
The identifier for the CanMoveToFirstPage dependency property.
CanMoveToLastPageProperty
DependencyProperty
Identifies the CanMoveToLastPage dependency property.
public static readonly DependencyProperty CanMoveToLastPageProperty
The identifier for the CanMoveToLastPage dependency property.
CanMoveToNextPageProperty
DependencyProperty
Identifies the CanMoveToNextPage dependency property.
public static readonly DependencyProperty CanMoveToNextPageProperty
The identifier for the CanMoveToNextPage dependency property.
CanMoveToPreviousPageProperty
DependencyProperty
Identifies the CanMoveToPreviousPage dependency property.
public static readonly DependencyProperty CanMoveToPreviousPageProperty
The identifier for the CanMoveToPreviousPage dependency property.
DisplayModeProperty
DependencyProperty
Identifies the DisplayMode dependency property.
public static readonly DependencyProperty DisplayModeProperty
IsTotalItemCountFixedProperty
DependencyProperty
Identifies the IsTotalItemCountFixed dependency property.
public static readonly DependencyProperty IsTotalItemCountFixedProperty
ItemCountProperty
DependencyProperty
Identifies the ItemCount dependency property.
public static readonly DependencyProperty ItemCountProperty
NumericButtonCountProperty
DependencyProperty
Identifies the NumericButtonCount dependency property.
public static readonly DependencyProperty NumericButtonCountProperty
NumericButtonStyleProperty
DependencyProperty
Identifies the NumericButtonStyle dependency property.
public static readonly DependencyProperty NumericButtonStyleProperty
PageCountProperty
DependencyProperty
Identifies the PageCount dependency property.
public static readonly DependencyProperty PageCountProperty
PagedSourceProperty
DependencyProperty
Identifies the PagedSource dependency property.
public static readonly DependencyProperty PagedSourceProperty
PageIndexProperty
DependencyProperty
Identifies the PageIndex dependency property.
public static readonly DependencyProperty PageIndexProperty
PageSizeProperty
DependencyProperty
Identifies the PageSize dependency property.
public static readonly DependencyProperty PageSizeProperty
SourceProperty
DependencyProperty
Identifies the Source dependency property.
public static readonly DependencyProperty SourceProperty
TextBoxStyleProperty
DependencyProperty
Identifies the TextBoxStyle dependency property.
public static readonly DependencyProperty TextBoxStyleProperty
Properties
Gets or sets a value indicating whether ellipsis will be shown.
public AutoEllipsisModes AutoEllipsisMode { get; set; }
Gets a value that indicates whether the user can move to another page.
public bool CanChangePage { get; }
true if this user can move to another page; otherwise, false.
Gets a value that indicates whether the user can move to the first page.
public bool CanMoveToFirstPage { get; }
true if this user can move to the first page; otherwise, false.
Gets a value that indicates whether the user can move to the last page.
public bool CanMoveToLastPage { get; }
true if this user can move to the last page; otherwise, false.
Gets a value that indicates whether the user can move to the next page.
public bool CanMoveToNextPage { get; }
true if this user can move to the next page; otherwise, false.
Gets a value that indicates whether the user can move to the previous page.
public bool CanMoveToPreviousPage { get; }
true if this user can move to the previous page; otherwise, false.
Gets or sets the pager display mode.
public PagerDisplayModes DisplayMode { get; set; }
The pager display mode.
Gets or sets a value that indicates whether or not the total number of items in the collection is fixed.
public bool IsTotalItemCountFixed { get; set; }
true if the total item count fixed; otherwise, false.
Gets or sets the current number of known items in the .
public int ItemCount { get; set; }
The item count.
Gets or sets the numeric button count.
public int NumericButtonCount { get; set; }
The numeric button count.
NumericButtonStyle
Style
Gets or sets the numeric and ellipsis buttons style.
public Style NumericButtonStyle { get; set; }
The numeric button style.
Gets the current number of pages in the .
public int PageCount { get; }
The page count.
Gets the paged source.
public IPagedCollectionView PagedSource { get; }
The paged source.
Binding the ItemsSource property of an ItemsControl to the PagedSource property will enable paging for this control through RadDataPager.
Gets or sets the current in the .
public int PageIndex { get; set; }
The index of the page.
Gets or sets the current in the .
public int PageSize { get; set; }
The page size.
Gets or sets the data collection that the RadDataPager controls paging for.
public IEnumerable Source { get; set; }
The data collection associated with this pager control.
TextBoxStyle
Style
Gets or sets the page text box style.
public Style TextBoxStyle { get; set; }
The page text box style.
Methods
Starts the initialization process for this element.
public override void BeginInit()
Indicates that the initialization process for the element is complete.
public override void EndInit()
was called without having previously been called on the element.
Sets the first page as the current page.
public bool MoveToFirstPage()
true if this operation was successful; otherwise, false.
Sets the last page as the current page.
public bool MoveToLastPage()
true if this operation was successful; otherwise, false.
Moves to the page after the current page.
public bool MoveToNextPage()
true if this operation was successful; otherwise, false.
Moves to the page before the current page.
public bool MoveToPreviousPage()
true if this operation was successful; otherwise, false.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The class-specific AutomationPeer subclass to return.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Raises the event.
protected virtual void OnPageIndexChanged(PageIndexChangedEventArgs args)
The PageIndexChangedEventArgs instance containing the event data.
Raises the event.
protected virtual void OnPageIndexChanging(PageIndexChangingEventArgs args)
The PageIndexChangingEventArgs instance containing the event data.
Resets the theme.
public void ResetTheme()
Events
Occurs when the page index has changed.
public event EventHandler<PageIndexChangedEventArgs> PageIndexChanged
Occurs when the page index is about to change.
public event EventHandler<PageIndexChangingEventArgs> PageIndexChanging