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. WPF PopUp control

WPF PopUp control

Scheduled Pinned Locked Moved WPF
csharpdatabasewpfhelptutorial
6 Posts 5 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.
  • R Offline
    R Offline
    Rahul Chitte
    wrote on last edited by
    #1

    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

    P I A 3 Replies Last reply
    0
    • R 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

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      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

      My blog | My articles | MoXAML PowerToys | Onyx

      1 Reply Last reply
      0
      • R 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

        I Offline
        I Offline
        Ian Shlasko
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        • R 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

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          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.

          T 1 Reply Last reply
          0
          • A Abhinav S

            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.

            T Offline
            T Offline
            Tarun K S
            wrote on last edited by
            #5

            That's a good example! :thumbsup:

            People with high attitude deserve the standing ovation of our highest finger! My Blog![^]

            A 1 Reply Last reply
            0
            • T Tarun K S

              That's a good example! :thumbsup:

              People with high attitude deserve the standing ovation of our highest finger! My Blog![^]

              A Offline
              A Offline
              Abhinav S
              wrote on last edited by
              #6

              Thank you Tarun.

              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.

              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