Class ValidationErrorToolTipOpeningEventArgs
Provides data about the ValidationErrorToolTipOpening event.
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class ValidationErrorToolTipOpeningEventArgs : GridCancelEventArgs
Constructors
ValidationErrorToolTipOpeningEventArgs(String, GridColumn, Int32, Int32, ToolTipInfo, Object, Point, Object)
Initializes a new instance of the ValidationErrorToolTipOpeningEventArgs class.
Declaration
public ValidationErrorToolTipOpeningEventArgs(string errorMessage, GridColumn column, int rowIndex, int columnIndex, ToolTipInfo toolTipInfo, object record, Point location, object originalSender)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessage | The error message of the cell. |
GridColumn | column | The object of GridColumn. |
System.Int32 | rowIndex | The row index of the cell. |
System.Int32 | columnIndex | The column index of the cell. |
ToolTipInfo | toolTipInfo | The ToolTipInfo of the cell. |
System.Object | record | The data object of the cell. |
System.Drawing.Point | location | The location of the ToolTipOption. |
System.Object | originalSender | The source of the event. |
Properties
Column
Gets the 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 |
ErrorMessage
Gets a value indicating the error message of the cell which displays in the tooltip.
Declaration
public string ErrorMessage { get; }
Property Value
Type |
---|
System.String |
Location
Gets or sets a value indicating the location of the tooltip to be shown.
Declaration
public Point Location { get; set; }
Property Value
Type |
---|
System.Drawing.Point |
Record
Gets the underlying data object of the cell.
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 |
ToolTipInfo
Gets the
Declaration
public ToolTipInfo ToolTipInfo { get; }
Property Value
Type |
---|
ToolTipInfo |