Class
DataPagerTextBox

Parses text entry to raise a GoToPage command.

Definition

Namespace:Telerik.Windows.Controls.Data.DataPager

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class DataPagerTextBox : TextBox, ICommandSource

Inheritance: objectDataPagerTextBox

Implements: ICommandSource

Constructors

DataPagerTextBox()

Declaration

cs-api-definition
public DataPagerTextBox()

Fields

CommandParameterProperty

Identifies the CommandParameter property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Identifies the Command property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

CommandTargetProperty

Identifies the CommandTarget property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandTargetProperty

Field Value

DependencyProperty

PageIndexProperty

Identifies the PageIndex dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PageIndexProperty

Field Value

DependencyProperty

Properties

Command

Gets the command that will be executed when the command source is invoked. This is a dependency property.

Declaration

cs-api-definition
[TypeConverter(typeof(CommandConverter))]
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

Represents a user defined data value that can be passed to the command when it is executed. This is a dependency property.

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

CommandTarget

The object that the command is being executed on. This is a dependency property.

Declaration

cs-api-definition
public UIElement CommandTarget { get; set; }

Property Value

UIElement

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.

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.

OnKeyDown(KeyEventArgs)

Called when event occurs.

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The data for the event.

OnLostFocus(RoutedEventArgs)

Called before event occurs.

Declaration

cs-api-definition
protected override void OnLostFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()