Class GridCurrentCellInitializeControlTextEventArgs
Provides data about the CurrentCellInitializeControlText event.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridCurrentCellInitializeControlTextEventArgs : SyncfusionCancelEventArgs
Remarks
The GridCellInitializeControlTextEventArgs is a custom event argument class used by the CurrentCellInitializeControlText event that notifies you that the current cell is initialized with text to be displayed in the associated control, e.g. a text box control.
Constructors
GridCurrentCellInitializeControlTextEventArgs(Int32, Int32, GridStyleInfo, Object, String)
Initializes the new instances for the GridCurrentCellInitializeControlTextEventArgs class.
Declaration
public GridCurrentCellInitializeControlTextEventArgs(int rowIndex, int colIndex, GridStyleInfo style, object cellValue, string controlText)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
GridStyleInfo | style | Style information. |
System.Object | cellValue | The cell value that is assigned to the cell renderer. |
System.String | controlText | The text that should be displayed in the active cell. |
Properties
CellValue
Gets the cell value that is assigned to the cell renderer.
Declaration
[TraceProperty(true)]
public object CellValue { get; }
Property Value
Type |
---|
System.Object |
ColIndex
Gets the column index.
Declaration
[TraceProperty(true)]
public int ColIndex { get; }
Property Value
Type |
---|
System.Int32 |
ControlText
Gets or sets the text that should be displayed in the active cell.
Declaration
[TraceProperty(true)]
public string ControlText { get; set; }
Property Value
Type |
---|
System.String |
RowIndex
Gets the row index.
Declaration
[TraceProperty(true)]
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
Style
Gets Style information.
Declaration
[TraceProperty(true)]
public GridStyleInfo Style { get; }
Property Value
Type |
---|
GridStyleInfo |