Completed
Last Updated: 28 Oct 2021 13:57 by ADMIN
Release LIB 2021.3.1101 (1 Nov 2021)
Martin Ivanov
Created on: 20 Oct 2021 13:53
Category: Buttons
Type: Bug Report
1
SplitButton: Application hangs when Label placed in the DropDownContent is clicked

The application hangs when you click on a Label element placed in the DropDownContent of RadSplitButton. In order to recreate this the content of the Label should contain an underscore character, thus enabling the access text WPF functionality. Also, the CloseOnPopupMouseLeftButtonUp property should be set to True.

This behavior can be reproduced with any element that is not derived from FrameworkElement. The issue in this case appear because when the access text is enabled, the Label control produces Run elements in its visual tree. The Run class doesn't derive from FrameworkElement, but from FrameworkContentElement, which causes the issue.

To work this around, use TextBlock instead of Label.

0 comments