ComponentOne MultiSelect for WinForms
C1.Win.C1Input Namespace / C1DateEdit Class / GoToField Method
Field to select.
a value that determines whether the text should be updated.

In This Topic
    GoToField Method (C1DateEdit)
    In This Topic
    Moves the selection to the specified date-time field. Works only if the DataType property is set to System.DateTime and the date-time input is active.
    Syntax
    'Declaration
     
    
    Protected Function GoToField( _
       ByVal field As DateTimeField, _
       ByVal updateText As Boolean _
    ) As Boolean
    protected bool GoToField( 
       DateTimeField field,
       bool updateText
    )

    Parameters

    field
    Field to select.
    updateText
    a value that determines whether the text should be updated.

    Return Value

    returns true if success.
    Remarks
    Can be used in the C1TextBox.UpdateSelection method to customize initial selection if the value type is date-time.
    See Also