Winrt Xaml Toolkit does not allow me to add new controls -


i'd add imagebutton control windows store app, when install winrt xaml toolkit using nuget not allow me (using intellisense) add new controls. i'd able specify image appbarbutton when hovered , image when pressed. find ridiculous microsoft has made difficult. appreciated.

it's funny how can spend hours on programming no success, next morning find answer in 5 minutes. here's answer needed, found @

how can change background image of button when hover or click in xaml windows 8?

i needed add xml namespace @ top of page... xmlns:controls="using:winrtxamltoolkit.controls"

then works.

    <controls:imagebutton horizonalalignment="center"         normalstateimagesource="normal.png"         hoverstateimagesource="hover.png"         pressedstateimagesource="pressed.png" /> 

hope helps else has same question.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -