Xceed DataGrid for WPF v7.2 Documentation
GetHasError Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CellEditor Class : GetHasError Method

The dependency object from which the property value is read.

Gets a value indicating whether the value being edited by the cell editor is in error.
Syntax
'Declaration
 
Public Shared Function GetHasError( _

   ByVal obj As DependencyObject _

) As Boolean
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

value = CellEditor.GetHasError(obj)
public static bool GetHasError( 

   DependencyObject obj

)

Parameters

obj

The dependency object from which the property value is read.

Return Value

true if the value being edited by the cell editor is in error; false otherwise.
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

Reference

CellEditor Class
CellEditor Members