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


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

    Property Value

    A GrapeCity.Win.Views.Field value indicates the default active field.
    The default is a null reference (Nothing in Visual Basic).
    Exceptions
    ExceptionDescription
    The specified field don't exist in the FieldCollection.
    Remarks
    When the control got focus, the default active field will got the focus and caret firstly.
    See Also