WPF PopUp control
-
Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
-
Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
Popups are shown with the
IsOpen
method.I'm not a stalker, I just know things. Oh by the way, you're out of milk.
Forgive your enemies - it messes with their heads
-
Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
Two ways: 1) Give it a name (The Popup itself, not just the TextBlock), and open it in the code-behind 2) (The preferred method) Bind the Popup's IsOpen property to something else, such as a toggle button or a boolean field on your underlying model.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels) -
Hi, I have just started learning WPF and exploring more on WPF controls. Can any one help how to display popup? I have used TextBlock under popup control as below :
But how to trigger this popup? Thanks and regards, Rahul Chitte
-
This sample [^]could help you out.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
-