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


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

    Property Value

    A GrapeCity.Win.Views.Field value that indicates the default active field.
    Exceptions
    ExceptionDescription
    The specified field does not exist in the FieldCollection.
    Remarks
    When the control gets focus, the default active field gets the focus and caret first.
    See Also