Version

IsDestinationValueValid Method (EditorWithCombo)

Checks validity of converted values.
Syntax
'Declaration
 
Protected Overrides Function IsDestinationValueValid( _
   ByVal direction As ConversionDirection, _
   ByVal destinationVal As Object, _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByRef message As String _
) As Boolean
protected override bool IsDestinationValueValid( 
   ConversionDirection direction,
   object destinationVal,
   EmbeddableEditorOwnerBase owner,
   object ownerContext,
   out string message
)

Parameters

direction
Type of conversion.
destinationVal
Value to check.
owner
Owner.
ownerContext
Owner context.
message
Additional information in the case of failure.

Return Value

True if the destination value is valid.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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