Class QueryImageCellStyleEventArgs
Represents a class that provides the data for the QueryImageCellStyle 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 QueryImageCellStyleEventArgs : GridEventArgs
Constructors
QueryImageCellStyleEventArgs(Object)
Initializes a new instance of the QueryImageCellStyleEventArgs class.
Declaration
public QueryImageCellStyleEventArgs(object originalSender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | originalSender | The original sender of the object. |
Properties
Column
Gets the column of the corresponding 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 |
DisplayText
Gets or sets the text which needs to be displayed on the image cell.
Declaration
public string DisplayText { get; set; }
Property Value
Type |
---|
System.String |
Image
Gets or sets the image that needs to be drawn.
Declaration
public Image Image { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
ImageLayout
Gets or sets the image layout of the cell.
Declaration
public ImageLayout ImageLayout { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ImageLayout |
Record
Gets the row data of the corresponding cell button.
Declaration
public object Record { get; }
Property Value
Type |
---|
System.Object |
RowIndex
Gets the row index of the cell.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
TextImageRelation
Gets or sets the TextImageRelation for the cell.
Declaration
public TextImageRelation TextImageRelation { get; set; }
Property Value
Type |
---|
System.Windows.Forms.TextImageRelation |