[]
        
(Showing Draft Content)

C1.Win.InputPanel.InputDataNavigator

InputDataNavigator Class

Represents a data navigator element in a C1InputPanel control.

Inheritance
InputDataNavigator
Namespace: C1.Win.InputPanel
Assembly: C1.Win.InputPanel.8.dll
Syntax
public class InputDataNavigator : InputComponent, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable

Constructors

Name Description
InputDataNavigator()

Initializes a new instance of InputDataNavigator.

Properties

Name Description
AddNewImage

Gets or sets the image associated with the 'Add New' button.

AddNewToolTip

Gets or sets the ToolTip associated with the 'Add New' button.

ApplyImage

Gets or sets the image associated with the 'Apply' button.

ApplyToolTip

Gets or sets the ToolTip associated with the 'Apply' button.

CancelImage

Gets or sets the image associated with the 'Cancel' button.

CancelToolTip

Gets or sets the ToolTip associated with the 'Cancel' button.

ContextMenuStrip

Gets or sets the context menu strip associated with the text box in this InputDataNavigator.

CountLabelFormat

Gets or sets a string displayed as the count label.

CurrencyManager

Gets the currency manager.

DataMember

Gets or sets the specific list in a DataSource object that the InputDataNavigator navigates.

DataSource

Gets or sets the data source object for this InputDataNavigator.

DefaultCountLabelFormat

Gets the default string displayed as the count label.

DeleteImage

Gets or sets the image associated with the 'Delete' button.

DeleteToolTip

Gets or sets the ToolTip associated with the 'Delete' button.

EditImage

Gets or sets the image associated with the 'Edit' button.

EditToolTip

Gets or sets the ToolTip associated with the 'Edit' button.

Enabled

Gets or sets a value indicating whether the component can respond to user interaction.

ImageAlign

Gets or sets the alignment of the image within the bounds specified by the ImageSize property.

ImageScaling

Gets or sets how the image will be scaled to fit within the bounds specified by the ImageSize property.

ImageSize

Gets or sets the size of the images that will be displayed on the buttons.

MoveButtonPressDelay

Gets or sets the interval before the 'Move Previous' and 'Move Next' buttons start firing click events, in milliseconds.

MoveButtonPressInterval

Gets or sets the interval between clicks when the 'Move Previous' and 'Move Next' buttons are kept pressed, in milliseconds.

MoveFirstImage

Gets or sets the image associated with the 'Move First' button.

MoveFirstToolTip

Gets or sets the ToolTip associated with the 'Move First' button.

MoveLastImage

Gets or sets the image associated with the 'Move Last' button.

MoveLastToolTip

Gets or sets the ToolTip associated with the 'Move Last' button.

MoveNextImage

Gets or sets the image associated with the 'Move Next' button.

MoveNextToolTip

Gets or sets the ToolTip associated with the 'Move Next' button.

MovePreviousImage

Gets or sets the image associated with the 'Move Previous' button.

MovePreviousToolTip

Gets or sets the ToolTip associated with the 'Move Previous' button.

NavigatorItems

Gets or sets which items should appear on the InputDataNavigator.

NotSetVerticalAlign

Gets actual vertical alignment when the VerticalAlign property is equal to NotSet.

Position

Gets or sets the current position in the underlying data list.

PositionWidth

Gets or sets the width of the text box that displays the current position.

ReloadImage

Gets or sets the image associated with the 'Reload Data' button.

ReloadToolTip

Gets or sets the ToolTip associated with the 'Reload Data' button.

SaveImage

Gets or sets the image associated with the 'Save Data' button.

SaveToolTip

Gets or sets the ToolTip associated with the 'Save Data' button.

ShowEditButton

Gets or sets whether the 'Edit' button should appear on the InputDataNavigator.

ShowReloadButton

Gets or sets whether the 'Reload Data' button should appear on the InputDataNavigator.

ShowSaveButton

Gets or sets whether the 'Save Data' button should appear on the InputDataNavigator.

TextAlign

Gets or sets how text is aligned in the text box that displays the current position.

TextBox

Gets the TextBox control contained in this InputDataNavigator.

WrongPositionErrorText

Gets or sets the error message that appears if the specified position number is incorrect.

Methods

Name Description
ClickButton(InputNavigatorButton)

Performs the action associated with a navigator button.

OnBeforeButtonClick(InputNavigatorClickEventArgs)

Raises the BeforeButtonClick event.

OnButtonClick(InputNavigatorClickEventArgs)

Raises the ButtonClick event.

OnConfirmDelete(CancelEventArgs)

Raises the ConfirmDelete event.

OnEditing(InputNavigatorEditingEventArgs)

Raises the Editing event.

OnError(InputNavigatorErrorEventArgs)

Raises the Error event.

OnPositionChanged(EventArgs)

Raises the PositionChanged event.

OnReloadData(EventArgs)

Raises the ReloadData event.

OnSaveData(EventArgs)

Raises the SaveData event.

ResetCountLabelFormat()
ResetWrongPositionErrorText()
SetDataBinding(object, string)

Updates the DataSource and DataMember properties at once.

ShouldSerializeCountLabelFormat()
ShouldSerializeWrongPositionErrorText()

Events

Name Description
BeforeButtonClick

Occurs when a navigator button is clicked, before its built-in processing.

ButtonClick

Occurs when a navigator button is clicked.

ConfirmDelete

Occurs before deleting a row. Allows to ask the user and cancel deleting if necessary.

Editing

Occurs when the 'Edit' button has been clicked.

Error

Occurs when an exception is thrown performing an action on button click.

PositionChanged

Occurs when the current position has been changed.

ReloadData

Occurs when the 'Reload Data' button has been clicked.

SaveData

Occurs when the 'Save Data' button has been clicked.