Quantcast
Channel: AvalonDock
Viewing all articles
Browse latest Browse all 2690

New Post: [Version 2.0] Focus and buttons

$
0
0

Hi all,

after some time of investigation I found the problem. It is caused inside of theFocusElementManager class in Method SetFocusOnLastElement. If I comment out line number 158 the focus problem don't appear anymore. It seems that it only appears if you have some focusable elements in your pane like textboxes or scrollviewers. 

if (_modelFocusedElement.GetValue(model, out objectToFocus))
{//focused = objectToFocus == Keyboard.Focus(objectToFocus);
}
I know it's not a real fix. Just a workaround. Maybe the developer can have a deeper look into this issue and release a real patch for this problem.


Viewing all articles
Browse latest Browse all 2690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>