New to Telerik UI for WPFStart a free 30-day trial

Parses text entry to raise a GoToPage command.

Definition

Namespace:Telerik.Windows.Controls.Data.DataPager

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

C#
public class DataPagerTextBox : TextBox, ICommandSource

Inheritance: objectDataPagerTextBox

Implements: ICommandSource

Constructors

C#
public DataPagerTextBox()

Fields

CommandParameterProperty

DependencyProperty

Identifies the CommandParameter property.

C#
public static readonly DependencyProperty CommandParameterProperty

CommandProperty

DependencyProperty

Identifies the Command property.

C#
public static readonly DependencyProperty CommandProperty

CommandTargetProperty

DependencyProperty

Identifies the CommandTarget property.

C#
public static readonly DependencyProperty CommandTargetProperty

PageIndexProperty

DependencyProperty

Identifies the PageIndex dependency property.

C#
public static readonly DependencyProperty PageIndexProperty

Properties

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

C#
[TypeConverter(typeof(CommandConverter))]
public ICommand Command { get; set; }

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

C#
public object CommandParameter { get; set; }

CommandTarget

UIElement

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

C#
public UIElement CommandTarget { get; set; }

Gets or sets the index of the page.

C#
public int PageIndex { get; set; }
Property Value:

The index of the page.

Methods

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when event occurs.

C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

The data for the event.

Called before event occurs.

C#
protected override void OnLostFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs

The data for the event.

Resets the theme.

C#
public void ResetTheme()