Click here to Skip to main content
15,889,877 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Silverlight vs WPF in the Browser Pin
Abhinav S26-Feb-12 21:11
Abhinav S26-Feb-12 21:11 
GeneralRe: Silverlight vs WPF in the Browser Pin
Mycroft Holmes26-Feb-12 21:26
professionalMycroft Holmes26-Feb-12 21:26 
Questionbutton style Pin
michaelgr126-Feb-12 4:14
michaelgr126-Feb-12 4:14 
AnswerRe: button style Pin
Pete O'Hanlon26-Feb-12 9:52
mvePete O'Hanlon26-Feb-12 9:52 
GeneralRe: button style Pin
michaelgr126-Feb-12 20:23
michaelgr126-Feb-12 20:23 
GeneralRe: button style Pin
Pete O'Hanlon26-Feb-12 22:10
mvePete O'Hanlon26-Feb-12 22:10 
AnswerRe: button style Pin
Bernhard Hiller26-Feb-12 20:48
Bernhard Hiller26-Feb-12 20:48 
Questionmulti setter Pin
michaelgr125-Feb-12 3:59
michaelgr125-Feb-12 3:59 
Hello,

I have a button which opens a popup. In my xaml code behind i use:

private void dropDownbtn_Click(object sender, RoutedEventArgs e)
{
MenuPopUp.StaysOpen = true;
MenuPopUp.IsOpen = true;
MenuPopUp.StaysOpen = false;
}
The thing is that i want to put this code into xaml using event trigger (click on button) and setter with binding element as menuPopUp and set it's properties.

Can i do it in xaml? i mean set the same property twice (once true and once false)? I mean for the statysOpen property.

BTW, i am doing this because otherwise popup will be opened and closed automatically on button click so popup will never be shown.
QuestionHow to snap polygon to another polygon?? Pin
iamnewguy24-Feb-12 10:24
iamnewguy24-Feb-12 10:24 
AnswerRe: How to snap polygon to another polygon?? Pin
gazengel jerome24-Apr-24 19:15
gazengel jerome24-Apr-24 19:15 
QuestionProblem with Entity Data Model's connectionstring - WPF Pin
jadughar24-Feb-12 4:35
jadughar24-Feb-12 4:35 
AnswerRe: Problem with Entity Data Model's connectionstring - WPF Pin
Dean Oliver24-Feb-12 21:37
Dean Oliver24-Feb-12 21:37 
QuestionWPF and MVVM Pin
radhwane23-Feb-12 22:43
radhwane23-Feb-12 22:43 
AnswerRe: WPF and MVVM Pin
Pete O'Hanlon23-Feb-12 23:02
mvePete O'Hanlon23-Feb-12 23:02 
GeneralRe: WPF and MVVM Pin
Abhinav S24-Feb-12 17:12
Abhinav S24-Feb-12 17:12 
AnswerRe: WPF and MVVM Pin
Abhinav S24-Feb-12 17:12
Abhinav S24-Feb-12 17:12 
Questionmouse click Pin
michaelgr122-Feb-12 21:04
michaelgr122-Feb-12 21:04 
AnswerRe: mouse click Pin
Abhinav S22-Feb-12 21:41
Abhinav S22-Feb-12 21:41 
GeneralRe: mouse click Pin
michaelgr122-Feb-12 21:45
michaelgr122-Feb-12 21:45 
GeneralRe: mouse click Pin
Pete O'Hanlon22-Feb-12 22:02
mvePete O'Hanlon22-Feb-12 22:02 
GeneralRe: mouse click Pin
michaelgr122-Feb-12 22:04
michaelgr122-Feb-12 22:04 
AnswerRe: mouse click Pin
Abhinav S23-Feb-12 0:49
Abhinav S23-Feb-12 0:49 
QuestionTreeview Expand/Collapse icons on right side in WPF Pin
Issac99922-Feb-12 18:08
Issac99922-Feb-12 18:08 
QuestionMerge cells - Silverlight Pin
Lê Tùng Lâm22-Feb-12 15:12
Lê Tùng Lâm22-Feb-12 15:12 
AnswerRe: Merge cells - Silverlight Pin
Abhinav S22-Feb-12 18:27
Abhinav S22-Feb-12 18:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.