xceedsoftware/wpftoolkit

DateTimePicker with Binding 2 ways doesn't display date existing in DB

deepdiver63 opened this issue · 0 comments

I have a problem, DateTimePicker seems not to consider the date recorded in DB (Binding with two ways) and present always the Current DateTime. Does it exist a param to force/correct this ?
XAML code:
<xctk:DateTimePicker x:Name="DtpInvDecCremationDate1" HorizontalAlignment="Left" Margin="10,354,0,0" VerticalAlignment="Top" Text="{Binding Path=InvDecCremationDate, TargetNullValue={x:Static sys:String.Empty}, Mode=TwoWay, UpdateSourceTrigger=Explicit, StringFormat={0:d}, ConverterCulture={x:Static gl:CultureInfo.CurrentCulture}}" Height="25" Width="250"/>
Thanks in adavance for your answer.