How do I remove the hover when I run the click of a second button?

Good Morning,
I found half the solution to my problem, that is, the part about the hover state to click on the button:
1) I converted my Button in ToggleButton
2) I have added this Style based Triggers:
<Style TargetType="ToggleButton" x:Key="checkedToggle">
<Style.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter Property="Background" Value="#5fc3f3"/>
</Trigger>
</Style.Triggers>
</Style>
To click the button keeps the "hover", the second click will remove.
Now the other problem: how do I remove the hover when I run the click of a second button?
Thank You.

>>Now the other problem: how do I remove the hover when I run the click of a second button?
You simply set the IsChecked property of the first button to false when the second button is clicked:
<ToggleButton x:Name="firstButton" IsChecked="True" Style="{StaticResource checkedToggle}">...</ToggleButton>
<ToggleButton Checked="ToggleButton_Checked" Unchecked="ToggleButton_Unchecked">...</ToggleButton>
private void ToggleButton_Checked(object sender, RoutedEventArgs e)
firstButton.IsChecked = false;
private void ToggleButton_Unchecked(object sender, RoutedEventArgs e)
firstButton.IsChecked = false;
Please remember to mark close your threads by marking helpful posts as answer and please start a new thread if you have a new question. Please don't ask several questions in the same thread.

Similar Messages

  • How can I remove the pictures in photo stream? I have already turn off my photostream at the settings but when i turn it on again, the pictures still come out?

    How can I remove the pictures in photo stream? I have already turn off my photostream at the settings but when i turn it on again, the pictures still come out?

    Ok you can reset the stream from www.icloud.com
    Goto www.icloud.com
    Login with your iCould username and password.
    and login
    Then click on your name in the top right hand side of the screen next to sign out,
    it opens a window Account details with Language, Time Zone, Advanced
    Select Advanced - Then click Reset Photo Stream. and confirm, the stream will be reset and totally deleted
    I still think you should be able to remove individual pictures though, a blured image etc is a problem

  • How can i remove the bar (where i search for websites) when i full screen for my macbook pro

    how can i remove the bar (where i search for websites) when i full screen

    ohhh k i got it but thats not what i am looking for, so when i full screen i want it to be like fully full screen like when i watch a movie i want nothing but the movie on the screen and when i bring the mouse up then the tab shows again thats what exactly I'm asking about.

  • I notice when I plug in my phone to my computer and look at what's "On this iPhone" it says that I have a book on there (one that was a free download from something), but I don't have iBooks installed on my phone. How do I remove the book?

    I notice when I plug in my phone to my computer and look at what's "On this iPhone" it says that I have a book on there (one that was a free download from something), but I don't have iBooks installed on my phone. How do I remove the book?

    Hi tinashah817,
    Was this book downloaded using iBooks, or from another application? If it was from iBooks you will need to install that application to delete it.
    See this article about managing your iBooks library on your iPhone -
    iBooks: Tips for managing your iBooks library and storage on iOS devices
    http://support.apple.com/kb/HT5544
    Once the book has been deleted from the iPhone you can uninstall the iBooks application if you so desire.
    How do I uninstall an app?: Apple Support Communities
    https://discussions.apple.com/thread/4392015
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • How do I remove the password step when renting movies?

    Hi Guys,
    How do I remove the password step when renting movies? I find the interface tedious and would like to eliminate this step.
    I figure I can police my account through my receipts from iTunes which are always itemised.
    Is there a place I can change the preferences to automatically allow downloads in my apple TV?
    Thanks in Advance,
    Chuck

    It actually asked last time I made a rental.
    Can't remember right now if there's an option in iTunes store Settings on the unit.
    Will check when I find my remote!
    AC

  • How does one remove the spell check high light when the word is spelled correctly in iOS 7.1.1?

    How does one remove the spell check high light in iOS7.1.1 (Pages) when the word is spelled correctly?

    Hello dondew,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Restart your iOS device.
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Choose the affected email account, then tap Delete Account.
    Add your account again.
    Have a nice day,
    Mario

  • When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ?

    Hi everyone,
    I am slowly getting to grips with Premiere Elements12.
    When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ?
    I see there was an earlier posting (http://forums.adobe.com/message/3320214#3320214) which was for version 8, and I can understand the issue, but, (assuming its the same issue) has a remove tagline feature been installed??
    Is this also the same in the Pro version?
    Thanks in advance for any good info
    Pete

    Offul Duster
    I do not know if Premiere Pro CS6 CC offers an upload to Facebook export. Strictly an Elements Windows person here.
    The Premiere Pro Forum is a good place to ask about that.
    http://forums.adobe.com/community/premiere
    I do not have any Facebook accounts, so I cannot answer your specific Facebook question, but generalizing I can offer the following suggestions.
    If your issue with Publish+Share/Computer/Social websites/Facebook is with tagging, you might want to check the Facebook web site for the Video Manager section of it (or that by some counterpart name). I know that YouTube at the YouTube web site allows the account holder to go into Video Manager and manage his/her tags for the file uploaded there and displaying. Have you been there and done that type of thing for your Facebook upload.
    Please see
    https://www.facebook.com/help/tag-suggestions
    https://www.facebook.com/help/privacy/photos
    Please review and then let us know the outcome.
    Thank you.
    ATR
    Add On...As suggested in your inserted link, in Premiere Elements can you export to file saved to computer hard drive and then upload that file from there to Facebook at the Facebook web site without the tagging issue?

  • I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it wont because it tells me I am using a trial version.... How can I remove the trial version?

    I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it sometimes wont because it tells me I am using a trial version.... But sometimes it lets me!! How can I remove the trial version? I cannot tell which one I am using when I open it....

    Question asked and answered quite once a week.
    Go to my iDisk (address below)
    and download :
    For_iWork:iWork '09:uninstall iWork '09.zip
    Run it then reinstall the purchased software.
    Yvan KOENIG (VALLAURIS, France)  vendredi 2 janvier 2011 16:21:41
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • When I play an iMovie at full screen, how can I remove the bottom toolbar

    When I play an iMovie at full screen, how can I remove the bottom toolbar?  It shows up on the projector screen and I don't want my audience to see those tools at the bottom quarter of the screen.

    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • When Importing Images, How Do I Remove The White Space Around The Corners?

    When Importing Images, How Do I Remove The White Space Around
    The Corners?

    u may use magic wand (and magic wand setting) from Lasson
    Tool to select and delete that white space, but u must break a part
    to the picture first.

  • How do I remove the question mark on my dock? When I move my cursor over it it reads "photos".

    How do I remove the question mark on my dock?
    When I move my cursor over it it reads "photos".

    Everything in the Dock is an alias.... that is a tiny file that points to the original app, folder or file.
    If the original app, folder or file is missing or not accessible in some other way (deleted?), it displays a question mark.
    You remove it the same way you remove any icon from the Dock.
    Simply drag the icon up away from the doc a couple of inches and let go of it.
    It should just disappear with a poof and some clouds.

  • When attempting to imbed a jpeg to an mp3, I now have that jpeg in the background of multiple folders. How do I remove the jpeg?

    When attempting to imbed a jpeg to an mp3, I now have that jpeg in the background of multiple folders. How do I remove the jpeg?

    This is the Feature request forum but select your item and then open the Attributes panel. On the left side are two boxes. Make sure the left box is highlighted.

  • When trying to download yosemite it sais that i do not have enough memory. when i look at my memory use it shows that 111.00gb of space is used by movies but when i go th the movie folder it is empty. how can i remove the non existant movies.

    when trying to download yosemite it sais that i do not have enough memory. when i look at my memory use it shows that 111.00gb of space is used by movies but when i go th the movie folder it is empty. how can i remove the non existant movies.

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.
    You will need a minimum of 10-12 GBs of free space to install Yosemite, however, that is a bare minimum and should be at least twice that amount.

  • When I go to write a contacts name in my message box an old number which is not in my contact list comes up. How can i remove the number?

    When I go to write a contacts name in my message box an old number which is not in my contact list comes up. How can i remove the number?
    please can some one help

    The ONLY way to remove this data from your phone, is to restore your phone as a new device in iTunes, NOT from backup. You either do that, or you live with it. Currently, there is no way to edit this data on any iPhone.

  • HT201371 How can I remove touch ID when the handset is turned off?

    How can I remove touch ID when the handset is turned off?

    Off it off. The only thing you can do when the phone is off is turn it on either by plugging it into power or by pressing the power button...
    Please rephrase the question.

Maybe you are looking for

  • Multi-Database Access

    I am attempting to access four databases with identical structure/tables containing information about data loading errors. I wrote a query providing a list of error ids with a count of each, which currently must be run in each database separately. A

  • Exchange rate differences take to long to run

    I have a problem when I try to run the exchange rate differences, the screen take shows the accounts that I can revaluate takes like 3 hours in order to appears, so I don't know is this is normal, 'cause I have others databases that shows me the scre

  • Doe's the reconfigured mac mini with the 3.0GHz Dual Core i7, with 3.5GHz Turbo Boost, run at 7200 rpm?

    Hello there. Doe's the reconfigured mac mini with the fourth generation 3.0 GHz Dual Core i7 with 3.5GHz Turbo Boost, with 1TB Fusion Drive, run at 7200rpm? Thanks.

  • How to insert Pipe symbol

    Could anybody say me how to use the pipe symbol in BPC.I am not able to find pipe symbol in keyboard. Thanks ranjan

  • Enable only few Person DFF segments at Employee Self Service

    Hi, We have a requirment to enable person DFF in ESS --> Personal Information, Which I have managed to enabled it at ESS. In Additional person Details (DFF) we have 6 segments in total but we need to populate only 2 segments in ESS personal informati