Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / RowValidationError Class / RowValidationError Constructor

The CellValidationRule that contains the validation rule that failed.

The row whose value(s) failed the validation process.

An object containing the content to display when an error occurs.

The exception that was raised when the value failed the validation process. Can be a null reference (Nothing in Visual Basic).



In This Topic
    RowValidationError Constructor
    In This Topic
    Initializes a new instance of the RowValidationError class specifying various information on the validation rule that caused the caused the value to fail the validation process.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal ruleInError As ValidationRule, _
       ByVal rowInError As Row, _
       ByVal errorContent As Object, _
       ByVal exception As Exception _
    )
    'Usage
     
    Dim ruleInError As ValidationRule
    Dim rowInError As Row
    Dim errorContent As Object
    Dim exception As Exception
     
    Dim instance As New RowValidationError(ruleInError, rowInError, errorContent, exception)
    public RowValidationError( 
       ValidationRule ruleInError,
       Row rowInError,
       object errorContent,
       Exception exception
    )

    Parameters

    ruleInError

    The CellValidationRule that contains the validation rule that failed.

    rowInError

    The row whose value(s) failed the validation process.

    errorContent

    An object containing the content to display when an error occurs.

    exception

    The exception that was raised when the value failed the validation process. Can be a null reference (Nothing in Visual Basic).

    Requirements

    Target Platforms: Windows 11, Windows, 10, 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

    See Also