Xceed DataGrid for WPF v7.2 Documentation
ValidateValue Method (ValueRangeTextBox)


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > ValueRangeTextBox Class : ValidateValue Method
The value to validate.
Validates the specified value to ensure that it is of the type specified by the ValueDataType property and that it is greater than or equal to MinValue and less than or equal to MaxValue.
Syntax
'Declaration
 
Protected Overridable Sub ValidateValue( _
   ByVal value As Object _
) 
'Usage
 
Dim instance As ValueRangeTextBox
Dim value As Object
 
instance.ValidateValue(value)
protected virtual void ValidateValue( 
   object value
)

Parameters

value
The value to validate.
Exceptions
ExceptionDescription
An attempt was made to set a value when the ValueDataType property is null.
The value if not of the type defined by the ValueDataType property.
The specified value must be greater than or equal to MinValue and less than or equal to MaxValue.
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

ValueRangeTextBox Class
ValueRangeTextBox Members