'{DependencyProperty.UnsetValue}' is not a valid value for property 'FocusVisualStyle'

Using Smart Client 2022 R2, Our Plugin crashes Milestone due to an exception related to VideoOsFocusVisualstyle, randomly accross the program such as changing tab, click on a UI…etc

The exception log is attached. Currently when I set the attached property on the control return from the method GenerateViewItemWpfUserControl or GenerateWpfUserControl, it seems to help when switching tab, however the exception still thrown at some other UI trigger.

The attachedpropery is set as below (_viewItemWpf is the ViewItemWpfUserControl return in method GenerateViewItemWpfUserControl.

VideoOS.Platform.UI.Controls.VideoOSStyleFocusVisualStyle.SetIsEnabled(_viewItemWpf, false);

For further investigation, can you please provide a small sample that shows the issue?

Hi Rie, could I please send you privately the plugin and explain that in details ?

Hi, I have created a case for you regarding this case, please look at MSC1014658 in MyMilestone. Also, I added a comment from MIlestone Development, so please read it too. Thank you.