ComponentOne FlexGrid for WinForms
GetDataDisplay(Int32,Int32,Image,CheckEnum) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase 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.
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 SetCellImage(Int32,String,Image) method, a mapped value obtained through an ImageMap, or an image stored as cell data (when the cell's RowCol.DataType is set to Image).

The CheckEnum value returned in the chk parameter is the value returned by the GetCellCheck method.

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List