Search Results for

    Show / Hide Table of Contents

    Interface IGridRowDropService

    Interface that must be implemented to allow dropping GridViewPayload

    Namespace: Simplic.UI.GridView
    Assembly: Simplic.UI.dll
    Syntax
    public interface IGridRowDropService

    Methods

    | Improve this Doc View Source

    CanDrag(GridViewPayload)

    Gets whether dragging is allowed

    Declaration
    bool CanDrag(GridViewPayload payload)
    Parameters
    Type Name Description
    GridViewPayload payload

    Payload to check

    Returns
    Type Description
    System.Boolean

    True if drag and drop is allowed

    | Improve this Doc View Source

    CanDrop(GridViewPayload, DataRow)

    Checks whether dropping data in the the passed target is allowed

    Declaration
    bool CanDrop(GridViewPayload payload, DataRow targetRow)
    Parameters
    Type Name Description
    GridViewPayload payload

    Payload which is currently dragged

    System.Data.DataRow targetRow

    Target row

    Returns
    Type Description
    System.Boolean

    True if drop is allowed

    | Improve this Doc View Source

    Drop(GridViewPayload, DataRow, Action<DropResult>)

    Drop data and create row

    Declaration
    void Drop(GridViewPayload payload, DataRow targetRow, Action<DropResult> completedCallback)
    Parameters
    Type Name Description
    GridViewPayload payload

    Payload to drop

    System.Data.DataRow targetRow

    Target row

    System.Action<DropResult> completedCallback

    Completed call back

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx