Class DataGridEditingControlShowingEventArgs
Represents the class that holds the information about the EditingControlShowing event.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class DataGridEditingControlShowingEventArgs : GridEventArgs
Constructors
DataGridEditingControlShowingEventArgs(Object, CellStyleInfo, DataRowBase, GridColumn, Int32, Int32, Control)
Initializes a new instance of the DataGridEditingControlShowingEventArgs class.
Declaration
public DataGridEditingControlShowingEventArgs(object originalSender, CellStyleInfo style, DataRowBase dataRow, GridColumn gridColumn, int rowIndex, int colIndex, Control control)
Parameters
Type | Name | Description |
---|---|---|
System.Object | originalSender | The source of the event. |
CellStyleInfo | style | The CellStyleInfo of the cell. |
DataRowBase | dataRow | The object of DataRowBase. |
GridColumn | gridColumn | The object of GridColumn. |
System.Int32 | rowIndex | The row index of the cell. |
System.Int32 | colIndex | The column index of the cell. |
System.Windows.Forms.Control | control | The editelement of the cell. |
Properties
Column
Gets a value indicates GridColumn of the cell.
Declaration
public GridColumn Column { get; }
Property Value
Type |
---|
GridColumn |
ColumnIndex
Gets the column index of the cell.
Declaration
public int ColumnIndex { get; }
Property Value
Type |
---|
System.Int32 |
Control
Gets the control shown to the user for editing the selected cell's value.
Declaration
public Control Control { get; }
Property Value
Type |
---|
System.Windows.Forms.Control |
DataRow
Gets the object which holds the data for row.
Declaration
public DataRowBase DataRow { get; }
Property Value
Type |
---|
DataRowBase |
RowIndex
Gets the row index of the cell.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
Style
Gets the CellStyleInfo of the cell.
Declaration
public CellStyleInfo Style { get; }
Property Value
Type |
---|
CellStyleInfo |