
What is expected behaviour on change date in DateTimeEditBox, when "Drop Down Window" is opened?
Because, sometimes after date changing in "drop down window", this window is closed, and sometimes is stil opened, while close button is not pressed.
I have window, where create DateTimeEditBox dynamically :Is bug or something else?
Because, sometimes after date changing in "drop down window", this window is closed, and sometimes is stil opened, while close button is not pressed.
I have window, where create DateTimeEditBox dynamically :
DateTimeEditBox dtInTime = new DateTimeEditBox();
dtInTime.Margin = new Thickness(5);
dtInTime.MinWidth = 120;
Binding b = new Binding("ObligeFrom");
b.UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged;
b.Mode = BindingMode.TwoWay;
b.NotifyOnValidationError = true;
PeriodValidation period_validation = new PeriodValidation(this.channel, data_source);//my validation
b.ValidationRules.Add(period_validation);
dtInTime.SetBinding(ActiproEditors.DateTimeEditBox.ValueProperty, b);
dt_stack_panel.Children.Add(dtInTime);//my panel
BindingExpression be = dtInTime.GetBindingExpression(ActiproEditors.DateTimeEditBox.ValueProperty);
be.UpdateTarget();//refreshing because this part of code is invoked many times
be.UpdateSource();//to automatic invoked validation