Answer the question
In order to leave comments, you need to log in
What are the controls in WPF for displaying data in DateTime format?
I tried to use the WPF Toolkit DateTimePicker, but when I try to get the BindingExpression and update the source data, the value ValueProperty
is lost somewhere.
BindingExpression expression = Control.GetBindingExpression(DateTimePicker.ValueProperty);
BindingExpression
to others in List<BindingExpression>
, well, I update the source:foreach (var exp in expressions)
{
exp.UpdateSource();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question