Posted 26 August 2021, 4:55 pm EST - Updated 30 September 2022, 9:06 am EST
Having trouble exporting to
Posted by: daniel on 26 August 2021, 4:55 pm EST
-
-
Posted 26 August 2021, 11:43 pm EST
Hi Daniel,
It seems like you are trying to access an UIElement from a different thread. For example, you might be accessing the control inside an async method. So, if that’s the case then you can wrap the element access code within a Dispatcher’s RunAsync call as follows:
_ = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { // Access the control here });
Best Regards,
Kartik -
Posted 31 August 2021, 7:23 am EST
Hi Daniel,
I apologize for the delay.
I have tried the same with the latest build i.e. 10.0.20212.747. However, this behavior is not reproducible at our end.
Could you please share a small sample replicating this behavior along with the build number you are using?
Best Regards,
Kartik -
Posted 3 September 2021, 11:42 am EST
We are using Version 10.0.20192.658
-
Posted 6 September 2021, 1:52 am EST
Hi Daniel,
Thank you for sharing the sample.
This behavior seems like a bug. So, we have escalated it to the devs and will get back to you when there is any update. [Internal Tracking Id - C1XAML-27989]
Best Regards,
Kartik -
Posted 21 September 2021, 1:34 am EST
Hi Daniel,
I am happy to inform you that this issue is fixed in the latest C1 NuGet package. So, I would request you to upgrade to the latest build (10.0.20212.747) for the same.
Best Regards,
Kartik