WPF ListBoxItem SelectionItemPattern Availability Issue
奕縢 陳
0
Reputation points
In a standard WPF application, ListBoxItem is expected to consistently support the SelectionItemPattern, irrespective of its selection state. However, I have observed that when a ListBoxItem is selected, the IsSelectionItemPatternAvailable property unexpectedly changes to false. This behavior contradicts the expected behavior where IsSelectionItemPatternAvailable should remain true regardless of the selection state.
While LsitBoxItem is on focus:
While LsitBoxItem isn't focus :
Developer technologies | Windows Presentation Foundation
Developer technologies | Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Sign in to answer