Class
NumericElementsPresenter

Presents a list of available pages as numeric and ellipsis buttons.

Definition

Namespace:Telerik.Windows.Controls.Data.DataPager

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class NumericElementsPresenter : Control

Inheritance: objectNumericElementsPresenter

Constructors

NumericElementsPresenter()

Initializes a new instance of the NumericElementsPresenter class.

Declaration

cs-api-definition
public NumericElementsPresenter()

Fields

AutoEllipsisModeProperty

Identifies the AutoEllipsisMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoEllipsisModeProperty

Field Value

DependencyProperty

NumericButtonCountProperty

Identifies the NumericButtonCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NumericButtonCountProperty

Field Value

DependencyProperty

NumericButtonStyleProperty

Identifies the NumericButtonStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NumericButtonStyleProperty

Field Value

DependencyProperty

PageCountProperty

Identifies the PageCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PageCountProperty

Field Value

DependencyProperty

PageIndexProperty

Identifies the PageIndex dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PageIndexProperty

Field Value

DependencyProperty

Properties

AutoEllipsisMode

Gets or sets a value indicating whether ellipsis will be shown.

Declaration

cs-api-definition
public AutoEllipsisModes AutoEllipsisMode { get; set; }

Property Value

AutoEllipsisModes

NumericButtonCount

Gets or sets the numeric button count.

Declaration

cs-api-definition
public int NumericButtonCount { get; set; }

Property Value

int

The numeric button count.

NumericButtonStyle

Gets or sets the numeric and ellipsis buttons style.

Declaration

cs-api-definition
public Style NumericButtonStyle { get; set; }

Property Value

Style

The numeric button style.

PageCount

Gets or sets the page count.

Declaration

cs-api-definition
public int PageCount { get; set; }

Property Value

int

The page count.

PageIndex

Gets or sets the index of the page.

Declaration

cs-api-definition
public int PageIndex { get; set; }

Property Value

int

The index of the page.

PagesViewModel

Gets the pages view model.

Declaration

cs-api-definition
public PagesViewModel PagesViewModel { get; }

Property Value

PagesViewModel

The pages view model.

Methods

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()