Xceed DataGrid for WPF v7.2 Documentation
SourceDataConverterValidationRule Constructor


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.ValidationRules Namespace > SourceDataConverterValidationRule Class : SourceDataConverterValidationRule Constructor
true if the source supports DBNull values, false otherwise.
The Type to which values are to be converter.
Initializes a new instance of the SourceDataConverterValidationRule class specifying whether the source supports DBNull values and the type to which values are to be converted.
Syntax
'Declaration
 
Public Function New( _
   ByVal sourceSupportDBNull As Boolean, _
   ByVal targetType As Type _
)
'Usage
 
Dim sourceSupportDBNull As Boolean
Dim targetType As Type
 
Dim instance As New SourceDataConverterValidationRule(sourceSupportDBNull, targetType)
public SourceDataConverterValidationRule( 
   bool sourceSupportDBNull,
   Type targetType
)

Parameters

sourceSupportDBNull
true if the source supports DBNull values, false otherwise.
targetType
The Type to which values are to be converter.
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

SourceDataConverterValidationRule Class
SourceDataConverterValidationRule Members