Xceed DataGrid for WPF v7.2 Documentation
CellValidationContext Constructor


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CellValidationContext Class : CellValidationContext Constructor
The data item from which the value to be validated has been retrieved.
The cell in which the value to be validated is contained.
Initializes a new instance of the CellValidationContext class specifying the cell and data item.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataItem As Object, _
   ByVal cell As Cell _
)
'Usage
 
Dim dataItem As Object
Dim cell As Cell
 
Dim instance As New CellValidationContext(dataItem, cell)
public CellValidationContext( 
   object dataItem,
   Cell cell
)

Parameters

dataItem
The data item from which the value to be validated has been retrieved.
cell
The cell in which the value to be validated is contained.
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

CellValidationContext Class
CellValidationContext Members