-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
TimePicker的SelectedTime在绑定时报错 #1348
Comments
@NaBian 您好,我这边升级到3.4后也同样遇到这个问题,非Binding也不行: |
hi, the Error is still happening. by HandyControl.Controls.TimePicker.CoerceSelectedTime(DependencyObject d, Object value) |
same error too |
I found the problem in the following code, I found a solution If we execute this method EnsureClock(); in the constructor, we can solve this problem |
Describe the bug
使用Stylet框架,在xaml上绑定SelectedTime到属性上时,报错“Object reference not set to an instance of anobject.”。在项目启动后热重载编辑绑定信息时可用。
Steps to reproduce the bug
无
Expected behavior
No response
Screenshots
NuGet package version
HandyControl 3.4.0
IDE
Visual Studio 2022
Framework type
.Net 5.0
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: