c# - WPF Button does not show ToolTip when TapAndHold consecutively -


i'm implementing .net 4.5 wpf application on touchscreen desktop. when testing application, realised tooltips buttons not appear when tap , hold same button twice consecutively.

1) tap , hold on button once, tooltip button appears expected. 2) tap , hold on button again (after initial tooltip has disappeared), tooltip not appear again. 3) tap , hold on button b, tooltip button b appears. 4) tap , hold on button now, tooltip button able appear.

i not sure whether default behavior or it's did somewhere in code caused happen. there can ensure tooltip appears everytime?

thanks help.

 </stackpanel.resources>         <contentcontrol horizontalalignment="center" verticalalignment="center" >             <i:interaction.triggers>                 <i:eventtrigger eventname="mouseleftbuttondown">                     <mvvmlight:eventtocommand command="{binding messageinfovm.showinfomessagecommand}" commandparameter="{binding tooltipok}"/>                 </i:eventtrigger>             </i:interaction.triggers>             <button tooltipservice.showondisabled="true" tooltip="{binding tooltipok}"  command="{binding okcommand}" />         </contentcontrol> 

try tooltipservice.showondisabled="true" or additional event mouseleftbuttondown


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -