I need to edit a date in a separate form and precisely the dd / MM / YYYY part separated by the hh: mm: ss part
I therefore thought about using the DateTimeBase control.
the code I use is:
HorizontalAlignment = "Left"
VerticalAlignment = "Stretch"
Width = "100"
Grid.Column = "1"
Grid.Row = "2"
Text = "{Binding CurrentRecord.DataOper, Mode = TwoWay, UpdateSourceTrigger = PropertyChanged}"
">Pattern = "shortdate" />
for the part of the date I have to display dd / mm / yyyy
is
HorizontalAlignment = "Left"
VerticalAlignment = "Stretch"
Width = "100"
Grid.Column = "2"
Grid.Row = "2"
Pattern = "CustomPattern" CustomPattern = "hh: mm: ss"
">Text = "{Binding CurrentRecord.DataOper, Mode = TwoWay, UpdateSourceTrigger = PropertyChanged}">
Syf: DateTimeBase>
for the part of the date in which I have to edit the time in the format hh: mm: ss
the result unfortunately does not reflect how much I would like to get and is visible in the screenshot.
Can you tell me how to solve the problem?
Is the DateTimeBase control correct for this functionality?
Thank you
Moreno
Attachment:
20180205_DataTimeBase_c7a2221e.zip