Version

GetAutoConvertedDestinationValue Method

Automatic data conversions specific to this editor.
Syntax
'Declaration
 
Protected Overrides Function GetAutoConvertedDestinationValue( _
   ByVal direction As Infragistics.Win.ConversionDirection, _
   ByVal sourceVal As Object, _
   ByVal destinationType As Type, _
   ByRef isValidConversion As Boolean, _
   ByVal owner As Infragistics.Win.EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object _
) As Object
protected override object GetAutoConvertedDestinationValue( 
   Infragistics.Win.ConversionDirection direction,
   object sourceVal,
   Type destinationType,
   out bool isValidConversion,
   Infragistics.Win.EmbeddableEditorOwnerBase owner,
   object ownerContext
)

Parameters

direction
Type of conversion.
sourceVal
Value to convert.
destinationType
Type of converted value
isValidConversion
True if conversion was valid.
owner
Owner.
ownerContext
OwnerContext.

Return Value

Converted value.
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