-
Hello, I have a question to ask you. It is a problem caused by calling the time selection control in your project. I copied the code directly from your demo, but it can't run. This project is newly created directly and there is no other reference |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @756616071 The demo app creates event handlers that require you to create methods in the code behind. I suspect you just need to remove these two lines: materialDesign:DialogHost.DialogOpenedAttached="CalendarDialogOpenedEventHandler"
materialDesign:DialogHost.DialogClosingAttached="CalendarDialogClosingEventHandler" |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm glad you can solve the problem. I can open the time selector normally, but I have encountered a new problem. I hope you can help me. How can I know the time I chose and the time I chose to transfer in the second time |
Beta Was this translation helpful? Give feedback.
-
@756616071 You'll have to bind it to a DateTime property on your ViewModel or get it in code-behind |
Beta Was this translation helpful? Give feedback.
Hi @756616071 The demo app creates event handlers that require you to create methods in the code behind. I suspect you just need to remove these two lines: