[]
        
(Showing Draft Content)

C1.Win.C1Input.C1TextBox.GoToField

GoToField Method

GoToField(DateTimeField, bool)

Moves the selection to the specified date-time field. Works only if the DataType property is set to DateTime and the date-time input is active.

Declaration
protected bool GoToField(DateTimeField field, bool updateText)
Parameters
Type Name Description
DateTimeField field

Field to select.

bool updateText

a value that determines whether the text should be updated.

Returns
Type Description
bool

returns true if success.

Remarks

Can be used in the UpdateSelection() method to customize initial selection if the value type is date-time.