Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-3829) Fix DateTimePicker BindingExpression errors #3830

Conversation

punker76
Copy link
Member

Describe the changes you have made to improve this project

We use a DatePickerTextBox inside the TimePickerBase which causes these errors with TargetFramework 4.8 and higher.

The DatePickerTextBox style uses triggers for UseNetFx472CompatibleAccessibilityFeatures, but the Bindings are looking for a DatePicker, that's why we get these errors.

To fix this we added a new style for our DatePickerTextBox called MahApps.Styles.DatePickerTextBox.TimePickerBase.

Closed Issues

Closes #3829

We use a DatePickerTextBox inside the TimePickerBase which causes these errors with TargetFramework 4.8 and higher.
The DatePickerTextBox style uses triggers for UseNetFx472CompatibleAccessibilityFeatures, but the Bindings are looking for a DatePicker.
To fix this we added a new style for our DatePickerTextBox called MahApps.Styles.DatePickerTextBox.TimePickerBase.
@punker76 punker76 added this to the 2.x.x milestone May 29, 2020
@punker76 punker76 merged commit 2e39545 into develop May 29, 2020
@punker76 punker76 deleted the fix/GH-3829-DatePicker-UseNetFx472CompatibleAccessibilityFeatures branch May 29, 2020 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Using DateTimePicker leads into error
1 participant