Hello,
Correct me if I am wrong, I think you are trying to bind an UNBOUND field to a DATETIME field. If this is the case, you do not need a converter to do that. There is a good example of the XamFeatureBrowser (which is installed on your computer with our products) in the section XamDataGrid -- Data Binding and Interaction -- Unbound Fields. An easy way to do this (simulate binding as XamTextEditor can edit values of types DateTime and not bother about converters) is handling the InitializeRecord and RecordUpdated events like this (both with the same code) :
private void xamDataGrid1_InitializeRecord(object sender, Infragistics.Windows.DataPresenter.Events.InitializeRecordEventArgs e) { if (e.Record is DataRecord) { DataRecord dr = (DataRecord)e.Record; dr.Cells["Unbound"].Value = dr.Cells["DateField"].Value; } }
However, you can see more information about the ValueToTextConverter in our help page.
Hope this helps,
Alex.