Class QueryCellStyleEventArgs
Provides data about the QueryCellStyle 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 sealed class QueryCellStyleEventArgs : GridEventArgs
Constructors
QueryCellStyleEventArgs(CellStyleInfo, Object, String, DataRowBase, GridColumn, Int32, Int32, Object)
Initializes a new instance of the QueryCellStyleEventArgs class.
Declaration
public QueryCellStyleEventArgs(CellStyleInfo style, object cellValue, string displayText, DataRowBase dataRow, GridColumn gridColumn, int rowIndex, int colIndex, object originalSender)
Parameters
Type | Name | Description |
---|---|---|
CellStyleInfo | style | The CellStyleInfo of the cell. |
System.Object | cellValue | The cell value of the cell. |
System.String | displayText | The display text Value. |
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.Object | originalSender | The source of the event. |
Properties
CellValue
Gets the actual cell value of a cell.
Declaration
public object CellValue { get; }
Property Value
Type |
---|
System.Object |
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 |
DataRow
Gets the object of row data.
Declaration
public DataRowBase DataRow { get; }
Property Value
Type |
---|
DataRowBase |
DisplayText
Gets or sets the formatted text that represents the underlying cell value.
Declaration
public string DisplayText { get; set; }
Property Value
Type |
---|
System.String |
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 |