Class NumericElementsPresenter
Presents a list of available pages as numeric and ellipsis buttons.
Inheritance
Namespace: Telerik.Windows.Controls.Data.DataPager
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class NumericElementsPresenter : Control, IThemable
Constructors
NumericElementsPresenter()
Initializes a new instance of the NumericElementsPresenter class.
Declaration
public NumericElementsPresenter()
Fields
AutoEllipsisModeProperty
Identifies the AutoEllipsisMode dependency property.
Declaration
public static readonly DependencyProperty AutoEllipsisModeProperty
Field Value
System.Windows.DependencyProperty
|
NumericButtonCountProperty
Identifies the NumericButtonCount dependency property.
Declaration
public static readonly DependencyProperty NumericButtonCountProperty
Field Value
System.Windows.DependencyProperty
|
NumericButtonStyleProperty
Identifies the NumericButtonStyle dependency property.
Declaration
public static readonly DependencyProperty NumericButtonStyleProperty
Field Value
System.Windows.DependencyProperty
|
PageCountProperty
Identifies the PageCount dependency property.
Declaration
public static readonly DependencyProperty PageCountProperty
Field Value
System.Windows.DependencyProperty
|
PageIndexProperty
Identifies the PageIndex dependency property.
Declaration
public static readonly DependencyProperty PageIndexProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutoEllipsisMode
Gets or sets a value indicating whether ellipsis will be shown.
Declaration
public AutoEllipsisModes AutoEllipsisMode { get; set; }
Property Value
AutoEllipsisModes
|
NumericButtonCount
Gets or sets the numeric button count.
Declaration
public int NumericButtonCount { get; set; }
Property Value
System.Int32
The numeric button count. |
NumericButtonStyle
Gets or sets the numeric and ellipsis buttons style.
Declaration
public Style NumericButtonStyle { get; set; }
Property Value
System.Windows.Style
The numeric button style. |
PageCount
Gets or sets the page count.
Declaration
public int PageCount { get; set; }
Property Value
System.Int32
The page count. |
PageIndex
Gets or sets the index of the page.
Declaration
public int PageIndex { get; set; }
Property Value
System.Int32
The index of the page. |
PagesViewModel
Gets the pages view model.
Declaration
public PagesViewModel PagesViewModel { get; }
Property Value
PagesViewModel
The pages view model. |
Methods
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()