I TRY bind and format a datetime in a XamDateTimeEDITOR that is not good.
I think I have a problem of countries ( I am french )
<igEditors:XamDateTimeEditor Name="XDatePrevDu" Text="{Binding Path=Ch_DatPrevDu}" Mask="{}{dd/mm/yyyy}" FontWeight
Thank you for help
Caisseodev
Hi Caisseodev,
I'm glad it's working for you.
I Have coded that and it work fine
<igEditors:XamDateTimeEditor Name="DEditorRelAu" Value="{Binding Path=Ch_DatReelAu}" Mask="{}{date}" ></igEditors:XamDateTimeEditor>
Thank you Caisseodev
Part of the problem might be that you are binding the Text property to what I assume to be a DateTime object. Try using the Value property instead of Text.
As for the mask, trying using "{}{date}" instead. As long as the culture of your application is set to French the date will be displayed as dd/mm/yyyy.
Let me know if you have any questions on this.