Declined
Last Updated: 05 Nov 2014 09:55 by ADMIN
ADMIN
Rosen Vladimirov
Created on: 15 Nov 2013 09:14
Category: Docking
Type: Bug Report
1
Underscore showing Access Key of ContentPresenter is not shown if the presenter is inside DocumentHost
An access key can be added to ContentPresenter in WPF if you add underscore in the content and set RecognizeAccessKey to true.If the ContentPresenter is inside DocumentHost, the access key is working, but the underscore in the UI is not visible. If you remove the DocumentHost everything works as expected.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ADMIN
Vladi
Posted on: 05 Nov 2014 09:55
The above mentioned framework issue is logged in Microsoft's official feedback portal and can be tracked here: https://connect.microsoft.com/VisualStudio/feedback/details/829049/underscore-of-access-key-is-not-displayed-when-manually-change-the-logical-tree-in-wpf
ADMIN
Rosen Vladimirov
Posted on: 22 Jan 2014 14:02
The problem is caused by the Framework when you modify the Logical Tree. The document host is added as a logical child of RadDocking manually and in this situation the framework is "hiding" the underscore of Access Key. If we do not add DocumentHost as a logical child of RadDocking, bindings with ElementName inside DocumentHost will not work.