ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridRow Class / Validate Method / Validate(Boolean) Method
if set to true validate all properties.

In This Topic
    Validate(Boolean) Method
    In This Topic
    Validates the DataItem. Implement IDataErrorInfo or INotifyDataErrorInfo in order to implement your own validation rules.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Validate( _
       ByVal validateAllProperties As Boolean _
    ) As Boolean
    public virtual bool Validate( 
       bool validateAllProperties
    )

    Parameters

    validateAllProperties
    if set to true validate all properties.
    Remarks
    After this method is executed the collection Errors will contain the errors.
    See Also