Keyboard hides automatically after moving

Sep 19, 2011 at 12:34 PM
Edited Sep 19, 2011 at 1:54 PM


i was looking exactly for a control like this, so i wanted to give it a try. The Demo is quite good and understandable. I tried to import it to my own project. 

I do the following:

1) Add the Wpfkb.dll to my project

2) add the namespace : xmlns:wpfkb="clr-namespace:Wpfkb.Controls;assembly=Wpfkb"

3) add the component in xaml:


DataContext="{Binding Main,Source={StaticResource Locator}}"           


IsOpen="{Binding showKeyboard}"           



PlacementTarget="{Binding ElementName=window}"           




Regardless, if the isAllowedToFade is set to True or False. After i move the control a little, it fades out after about 5 Seconds. 

Even when setting the KeyboardHideDelay to 0 or 500, it fades out after 5 seconds. Am I missing something?


Regards, Steve



This only seems to happen, when setting the DataContext in some way. I wanted to bind the isOpen property to my Viewmodel, so i could hide and show the control