Class GridCurrentCellErrorMessageEventArgs
Provides event data for the CurrentCellErrorMessage event which notifies you that the current cell validation failed and a message is displayed. You can set e.Cancel = true for the event and display your own custom message box.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridCurrentCellErrorMessageEventArgs : SyncfusionCancelEventArgs
Constructors
GridCurrentCellErrorMessageEventArgs(IWin32Window, String)
Initializes the new instances for the GridCurrentCellErrorMessageEventArgs class.
Declaration
public GridCurrentCellErrorMessageEventArgs(IWin32Window owner, string text)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IWin32Window | owner | Parent window. |
System.String | text | Error message. |
Properties
Owner
Gets or sets TextBoxCellRenderer the owner that should be passed as argument to the MessageBox.Show call.
Declaration
public IWin32Window Owner { get; set; }
Property Value
Type |
---|
System.Windows.Forms.IWin32Window |
Text
Gets or sets TextBoxCellRenderer the suggested error text to be displayed.
Declaration
[TraceProperty(true)]
public string Text { get; set; }
Property Value
Type |
---|
System.String |