Xamarin.iOS Documentation | ComponentOne
C1.iOS.Grid Assembly / C1.iOS.Grid Namespace / FlexGrid Class / RowEditEnding Event


In This Topic
    RowEditEnding Event
    In This Topic
    Occurs when a row edit is ending.
    Syntax
    'Declaration
     
    
    Public Event RowEditEnding As EventHandler(Of GridCellEditEventArgs)
    'Usage
     
    
    Dim instance As FlexGrid
    Dim handler As EventHandler(Of GridCellEditEventArgs)
     
    AddHandler instance.RowEditEnding, handler
    public event EventHandler<GridCellEditEventArgs> RowEditEnding
    Event Data

    The event handler receives an argument of type GridCellEditEventArgs containing data related to this event. The following GridCellEditEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether the associated event should be canceled. (Inherited from C1.iOS.Grid.CancelEventArgs)
    Gets a value that determines whether the editing action was canceled.  
    Gets a value indicating whether the associated event is cancellable. (Inherited from C1.iOS.Grid.CancelEventArgs)
    Gets the cell range. (Inherited from C1.iOS.Grid.GridCellRangeEventArgs)
    Gets the type of the cell. (Inherited from C1.iOS.Grid.GridCellRangeEventArgs)
    Gets the editor.  
    Remarks

    You can cancel this event by setting the Cancel property of the event argument to true in the event handler.

    If this event is not canceled, the edits will be committed or canceled depending on the setting of the CancelEdits property of the event argument.

    Alternatively, you can set the IsReadOnly property to true to disable editing in the grid.

    See Also