|
-
Dec 10th, 2011, 03:39 PM
#1
Thread Starter
Addicted Member
Could someone answer some basic WPF questions?
Hi, I'm just learning to use Expression Blend 4 for making WPF applications. It's going pretty well, however, I've run into a few problems. My first question is, how do you set triggers for mousedown and mouseup events? I tried setting event triggers but they just wouldn't work. However, the isMouseOver and isFocused triggers work fine. My second question is, is it possible to access WPF-specific items using code? For example, if I wanted to start a storyboard from my C# code when a button is clicked, could I? I know you can do that with triggers. The reason I ask is because I need to have it where there are three buttons. When you click one, its background color turns gold and the two others turn blue. I was able to do this in Winforms, but idk how to in WPF. Please help me. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|