FlexGrid for WinForms
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
'Usage
 
Dim instance As C1FlexGridBase
Dim row As Integer
Dim col As Integer
Dim img As Image
Dim chk As CheckEnum
Dim value As String
 
value = instance.GetDataDisplay(row, col, img, chk)
public virtual string GetDataDisplay( 
   int row,
   int col,
   out Image img,
   out CheckEnum chk
)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback