The zoombar shows as in attached file. It will only become enabled if I change to another Tab and come back to HistoricalDataChart.(attached in file zoombarworkfine). Nothing is changed in the properties or others. Can I force a refresh for the xamDataChart anywhere?
Hello Joan,
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the matter.
I have removed the call of the Refresh method at the LayoutUpdated method in the CustomCrossHairs class. Then in the _owner_MouseMove method I call the Refresh() method outside the ‘if’ statement. Please do not hesitate to let me know if you have any further questions on the mather.
Thank you. That fixed my problem.
Thank you for the sample. I have been looking into it. The LayoutUpdated method you are using in the CustomCrossHairs class is fired twice when the second tab of the TabControl is opened. Then the Refresh method is called, which I causing the Zoombar to look disabled.
I have modified your sample in order for you to be able to see this functionality. Please refer to the attached sample and feel free to let me know if you have any further questions.
attached please find the modified solution. I added my customcrosshairs and you will be able to duplicate the issue I had.