Posted 15 May 2024, 3:43 am EST - Updated 15 May 2024, 3:48 am EST
Showing Left scroll Arrow for TabItems even there is more space for TabItems
Posted by: rambabu on 15 May 2024, 3:43 am EST
-
-
Posted 16 May 2024, 1:29 am EST
Hi Rambabu,
Thank you for providing the screenshot. We could observe the behavior you mentioned when the DockTabControl.SelectedIndex property is set through XAML or code. We have reported it to the development team for further investigation and will let you know the updates soon.
If this the case on your end as well, then as a workaround, you can handle the DockTabControl.Loaded event and set the SelectedIndex in the event handler instead. Please see the attached sample project for reference.
If you still face this issue with a different implementation, please update the attached project to reproduce the issue, so we can investigate further and assist you in the best way possible.
Attachment: DockTabControl.ScrollButtonTest.zip
[Internal Tracking ID: C1XAML-36271]
Thanks, and Best Regards,
Kartik -
Posted 29 July 2024, 8:27 pm EST
Hello,
I created a sample to replicate the issue.
this issue happens very randomly and unable to find a specific pattern.here is the video that illustrates the issue.https://www.awesomescreenshot.com/video/30004374?key=b5423f52e085782d5adb17bddd61aa69 DockControlTabs.zip
-
Posted 30 July 2024, 4:46 am EST
Hi Rambabu,
We previously reported a similar issue related to the measurement of TabItems to the development team. They have internally fixed the issue, and the ETA for the fix is the upcoming 2024v1 Hotfix2 release. We will let you know as soon as the release is available for download.
Unfortunately, we were unable to reproduce the issue you just described, as it appears to be uncertain. We noticed that you are using an older version of the DockTabControl. Could you please test with the latest version (8.0.20241.854) and see if the issue persists? If so, please share another video showing the version used and the issue occurring, so we can confirm it with the development team.
Thanks, and Kind Regards,
Kartik -
Posted 30 July 2024, 12:23 pm EST
Hello Kartik,
I upgraded to the latest version(8.0.20241.854) but still have the same issue.
refer to the following videos.
can you refer to the code I sent and let me how to fix it or where is the issue?https://www.awesomescreenshot.com/video/30032850?key=de5d8f78b6d808488226513550f615b9
https://www.awesomescreenshot.com/video/30032910?key=7aae8181046e20894795cbb05b52a0d9Thanks & Regards
-
Posted 31 July 2024, 7:18 am EST
Hi Rambabu,
Thank you for sharing the video. When I tested the behavior again today, I also observed it 1-2 times. I have reported it to the development team for further investigation and will update you soon.
Best Regards,
Kartik -
Posted 31 July 2024, 8:14 am EST
Hi Rambabu,
As per the development team, this seems like a different bug. They are investigating further on this and we will let you know as soon as possible.
[Internal Tracking ID: C1XAML-36712]
Kind Regards,
Kartik -
Posted 31 July 2024, 12:54 pm EST
Thank you,
Please keep us posted when you have a solution for this.Thanks
-
Posted 31 July 2024, 11:39 pm EST
Hi Rambabu,
The development team researched your sample project and were able to reproduce the issue. They suggested a workaround that fixed the issue on their end by adding the following code at the end of the Add_Tab method:
private void Add_Tab(object sender, RoutedEventArgs e) { //........ if (docTabControl.Items.Count > 1) { docTabControl.ScrollIntoView(docTabControl.Items[0]); docTabControl.ScrollIntoView(dockTabItem); } }
Please refer to the updated sample project for reference - DockControlTabs_Workaround.zip
Best Regards,
Kartik -
Posted 2 August 2024, 10:40 am EST
It is working now, thank you for providing the solution.