FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / RowWithDetails Class / DataSource Property

In This Topic
    DataSource Property (RowWithDetails)
    In This Topic
    Gets the object that provides data for this row.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property DataSource As Object
    public object DataSource {get;}
    Remarks

    The type of object returned depends on the type of DataSource assigned to the grid. For example, if the grid is bound to a System.Data.DataView object, then this property will return the specific System.Data.DataRowView object that is bound to this row.

    This property returns null if the grid is unbound, or if the row is a fixed or node row that doesn't correspond to any objects in the grid's data source.

    For an example, see the GetUnboundValue event.

    See Also