Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTimeSpan Class / DefaultActiveField Property


In This Topic
    DefaultActiveField Property (GcTimeSpan)
    In This Topic
    Gets or sets the default active field.
    Syntax
    'Declaration
     
    
    Public Property DefaultActiveField As TimeSpanField
    'Usage
     
    
    Dim instance As GcTimeSpan
    Dim value As TimeSpanField
     
    instance.DefaultActiveField = value
     
    value = instance.DefaultActiveField
    public TimeSpanField DefaultActiveField {get; set;}

    Property Value

    A GrapeCity.Win.Views.Field value indicates the default active field.
    The defalut is a null reference (Nothing in Visual Basic).
    Exceptions
    ExceptionDescription
    The specified field don't exist in the GrapeCity.Win.Views.FieldCollection.
    Remarks
    When the control got focus, the default active field will got the focus. And if the value of the HighlightText property is HighlightText.Field, all of the text in the field will be selected. Otherwise, caret will only move to the first input position.
    See Also