ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / GetDataDisplay Method / GetDataDisplay(Int32,Int32,Image,CheckEnum) Method
Row index.
Column index.
Returns the image in the cell.
Returns the checkbox value in the cell.

In This Topic
    GetDataDisplay(Int32,Int32,Image,CheckEnum) Method
    In This Topic
    Gets the value in a grid cell, formatted as a string, and the image or checkbox in the cell.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function GetDataDisplay( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByRef img As Image, _
       ByRef chk As CheckEnum _
    ) As String
    public virtual string GetDataDisplay( 
       int row,
       int col,
       out Image img,
       out CheckEnum chk
    )

    Parameters

    row
    Row index.
    col
    Column index.
    img
    Returns the image in the cell.
    chk
    Returns the checkbox value in the cell.

    Return Value

    A string containing the data displayed in the given grid cell.
    Remarks

    This method provides a way to retrieve all the data that is displayed in a cell with a single call.

    The image returned in the img parameter may be an image assigned to the cell using the C1.Win.C1FlexGrid.C1FlexGridBase.SetCellImage method, a mapped value obtained through an C1.Win.C1FlexGrid.RowCol.ImageMap, or an image stored as cell data (when the cell's C1.Win.C1FlexGrid.RowCol.DataType is set to Image).

    The C1.Win.C1FlexGrid.CheckEnum value returned in the chk parameter is the value returned by the C1.Win.C1FlexGrid.C1FlexGridBase.GetCellCheck method.

    See Also