Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FocusProcess Class / PreventFocusLeave Property


In This Topic
    PreventFocusLeave Property
    In This Topic
    Gets or sets whether to keep the focus on the validating Cell.
    Syntax
    'Declaration
     
    
    Public Property PreventFocusLeave As Boolean
    'Usage
     
    
    Dim instance As FocusProcess
    Dim value As Boolean
     
    instance.PreventFocusLeave = value
     
    value = instance.PreventFocusLeave
    public bool PreventFocusLeave {get; set;}

    Property Value

    true to keep the focus on the validating Cell; otherwise, false. The default is true.
    See Also