Version

DataValueToText(Object,EmbeddableEditorOwnerBase,Object,Boolean) Method

Converts data value to text making use of any format provider and format strings that owner may provide. If unsuccessful, returns null.
Syntax
'Declaration
 
Public Overloads Overrides Function DataValueToText( _
   ByVal valueToConvert As Object, _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByVal applyFormatString As Boolean _
) As String
public override string DataValueToText( 
   object valueToConvert,
   EmbeddableEditorOwnerBase owner,
   object ownerContext,
   bool applyFormatString
)

Parameters

valueToConvert
The value to be converted
owner
An object that derives from the Infragistics.Win.EmbeddableEditorOwnerBase class.
ownerContext
An object that is used to get the value to render via a call to the Infragistics.Win.EmbeddableEditorOwnerBase.GetValue method.
applyFormatString
Specifies whether the format string returned by the owner via the Infragistics.Win.EmbeddableEditorOwnerBase.GetFormatInfo method should be used when formatting the text. The format string should not be applied to embeddable elements that are currently in edit mode.

Return Value

The converted data value, or null if the conversion was unsuccessful.
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