C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : RowValidating Event |
'Declaration
<C1DescriptionAttribute("Fires when a row is losing focus and needs to be validated.")> Public Event RowValidating As RowColEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As RowColEventHandler AddHandler instance.RowValidating, handler
[C1Description("Fires when a row is losing focus and needs to be validated.")] public event RowColEventHandler RowValidating
[C1Description("Fires when a row is losing focus and needs to be validated.")] public: event RowColEventHandler^ RowValidating
This event is analogous to the System.Windows.Forms.Control.Validating event.
Use this event to perform validation on all the values of a row. If the row does not pass validation, set the RowColEventArgs.Cancel property to true.
Canceling this event prevents the RowValidated event from occurring, and also prevents the user from leaving the invalid row.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2