Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Calling one button's IsMouseOver style on mouseEnter of another button

Calling one button's IsMouseOver style on mouseEnter of another button

Scheduled Pinned Locked Moved WPF
wpfcsharphelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Prasoon Chaudhary
    wrote on last edited by
    #1

    I have a small button placed upon a bigger button. Both buttons have their own style. Both buttons work independently with their IsMouseOver/IsPressed styles. My requirement is that Click on big/small button should evoke both buttons, also mouseEnter/Leave on big button should evoke both buttons. As small button is placed on big button and user will not be able to see that there are two buttons, mouseLeave/Enter on small button should not evoke a new response. I don't want to make any change in styles, because that will complicate the thing. I can make change in XAML where i am setting the style or in the code-behind CS file. I assume that it is possible with XAML only, and without writing any code in C#. A reply with a bit code(XAML/C#) will help a lot.

    modified on Wednesday, August 25, 2010 4:40 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups