[]
The C1DataPager control lets user to navigate to a specific item.
[TemplatePart(Name = "CurrentPage", Type = typeof(TextBox))]
[TemplatePart(Name = "Suffix", Type = typeof(TextBlock))]
[TemplateVisualState(Name = "MoveEnabled", GroupName = "MoveStates")]
[TemplateVisualState(Name = "MoveDisabled", GroupName = "MoveStates")]
[TemplateVisualState(Name = "MoveFirstEnabled", GroupName = "MoveFirstStates")]
[TemplateVisualState(Name = "MoveFirstDisabled", GroupName = "MoveFirstStates")]
[TemplateVisualState(Name = "MovePreviousEnabled", GroupName = "MovePreviousStates")]
[TemplateVisualState(Name = "MovePreviousDisabled", GroupName = "MovePreviousStates")]
[TemplateVisualState(Name = "MoveNextEnabled", GroupName = "MoveNextStates")]
[TemplateVisualState(Name = "MoveNextDisabled", GroupName = "MoveNextStates")]
[TemplateVisualState(Name = "MoveLastEnabled", GroupName = "MoveLastStates")]
[TemplateVisualState(Name = "MoveLastDisabled", GroupName = "MoveLastStates")]
[TemplateVisualState(Name = "FirstLastNumeric", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "FirstLastPreviousNext", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "FirstLastPreviousNextNumeric", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "Numeric", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "PreviousNext", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "PreviousNextNumeric", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1DataPager : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
| Name | Description |
|---|---|
| C1DataPager() | Initializes a new instance of a C1DataPager. |
| Name | Description |
|---|---|
| ButtonBackgroundProperty | Identifies the ButtonBackground dependency property. |
| ButtonForegroundProperty | Identifies the ButtonForeground dependency property. |
| CanMoveItemProperty | Identifies the CanMoveItem dependency property. |
| CanMoveToFirstItemProperty | Identifies the CanMoveToFirstItem dependency property. |
| CanMoveToLastItemProperty | Identifies the CanMoveToLastItem dependency property. |
| CanMoveToNextItemProperty | Identifies the CanMoveToNextItem dependency property. |
| CanMoveToPreviousItemProperty | Identifies the CanMoveToPreviousItem dependency property. |
| CornerRadiusProperty | Identifies the CornerRadius dependency property. |
| CurrentIndexProperty | Identifies the CurrentIndex dependency property. |
| DisplayModeProperty | Identifies the DisplayMode dependency property. |
| FocusBrushProperty | Identifies the FocusBrush dependency property. |
| LabelForegroundProperty | Identifies the LabelForeground dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| MoveToFirstCommand | Move to first item. |
| MoveToLastCommand | Move to last item. |
| MoveToNextCommand | Move to next item. |
| MoveToPreviousCommand | Move to previous item. |
| NumericButtonStyleProperty | Identifies the NumericButtonStyle dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| SourceProperty | Identifies the Source dependency property. |
| TotalCountProperty | Identifies the TotalCount dependency property. |
| Name | Description |
|---|---|
| ButtonBackground | Gets or sets the Brush that will be assigned to the Background of the buttons inside the control. |
| ButtonForeground | Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control. |
| CanMoveItem | Gets a value indicating whether this instance can change. |
| CanMoveToFirstItem | Gets a value indicating whether this instance can move to the first item. |
| CanMoveToLastItem | Gets a value indicating whether this instance can move to the last item. |
| CanMoveToNextItem | Gets a value indicating whether this instance can move to the next item. |
| CanMoveToPreviousItem | Gets a value indicating whether this instance can move to the previous item. |
| CornerRadius | Gets or sets a value that represents the degree to which the corners of the element are rounded. |
| CurrentIndex | Gets or sets the index of the current item. |
| DisplayMode | Gets or sets a value that indicates how the C1DataPager will render. |
| FocusBrush | Gets or sets the Brush used to highlight the focused control. |
| LabelForeground | Gets or sets the background of label. |
| MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
| NumericButtonStyle | Gets or sets the style that will be used for the navigation buttons. |
| PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
| Source | Gets or sets the data source of C1DataPager. |
| TotalCount | Gets or sets the count of the collection data. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| ChangeVisualStateDisplayMode(bool) | Updates the current visual state of the DisplayMode visual state group to match the object's properties. |
| ChangeVisualStateMove(bool) | Updates the current visual state of the Move visual state group to match the object's properties. |
| ChangeVisualStateMoveFirst(bool) | Updates the current visual state of the MoveFirst visual state group to match the object's properties. |
| ChangeVisualStateMoveLast(bool) | Updates the current visual state of the MoveLast visual state group to match the object's properties. |
| ChangeVisualStateMoveNext(bool) | Updates the current visual state of the MoveNext visual state group to match the object's properties. |
| ChangeVisualStateMovePrevious(bool) | Updates the current visual state of the MovePrevious visual state group to match the object's properties. |
| OnApplyTemplate() | Builds the visual tree for the C1DataPager control when a new template is applied. |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
| Name | Description |
|---|---|
| CurrentIndexChanged | Event raised when the CurrentIndex property has changed. |
| CurrentIndexChanging | Event handler for when PageIndex is changing. |
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |