c# - Disable Mouse Over focus in Windows 8 Metro Application -
i working on window8 metro application in application inserting 2 image buttons,in simulator mouse mode pointer entered time getting focus.
i implementing code ...
private void button_pointerentered(object sender, windows.ui.xaml.input.pointereventargs e) { system.diagnostics.debug.writeline("pointer entered"); button thisbutton = (button)sender; thisbutton.focus(focusstate.unfocused); } how can disable focus on mouse pointer entered ?
i don't use windows 8 metro yet, try adding this:
<setter property="focusvisualstyle" value="{x:null}" /> that should stop visualisations mouseover , whatnot, thats wpf answer, should work metro, no promises!
Comments
Post a Comment