Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateLiteralField Class / SelectionStart Property


In This Topic
    SelectionStart Property (DateLiteralField)
    In This Topic
    Gets the selection start position.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property SelectionStart As Integer
    'Usage
     
    
    Dim instance As DateLiteralField
    Dim value As Integer
     
    value = instance.SelectionStart
    public int SelectionStart {get;}

    Property Value

    The System.Int32 value indicates the selection start position.
    The default is 0.
    Remarks
    If no text is selected in the control, this property indicates the insertion point for new text. If you set this property to a location beyond the length of the text in the control, the selection start position will be placed after the last character. When text is selected in the control, changing this property might decrease the value of the Field.SelectionLength property. If the remaining text in the control after the position indicated by the Field.SelectionStart property is less than the value of the SelectionLength property, the value of the SelectionLength property is automatically decreased. The value of the Field.SelectionStart property never causes an increase in the SelectionLength property.
    See Also