Like & dislike

ABloxityABloxity Member ✭✭✭

how can I migrate this part of code to my ViewModel

this reference in mi XAML

Posts

  • JoeMankeJoeManke USMember ✭✭✭✭✭

    You could easily bind everything besides the animation to a single Boolean property in your ViewModel with some triggers or converters. The animations should obviously still be defined in the Forms project.

  • ABloxityABloxity Member ✭✭✭

    I already tried it with the triggers but I just want to change the style I'm clicking on.
    And click again to return it to its original style.

  • JohnHardmanJohnHardman GBUniversity mod

    @ABloxity - Please don't duplicate threads. Moderators (including me) will normally delete duplicates, and other users might mark them as spam. I'm not deleting either thread in this case as people have already responded to both threads, but please be careful not to duplicate threads in future.

  • igorkr_10igorkr_10 Member ✭✭✭

    @JohnHardman said:
    @ABloxity - Please don't duplicate threads. Moderators (including me) will normally delete duplicates, and other users might mark them as spam. I'm not deleting either thread in this case as people have already responded to both threads, but please be careful not to duplicate threads in future.

    Thread creating takes a long time and users try to create it again

Sign In or Register to comment.