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. Resources in WPF

Resources in WPF

Scheduled Pinned Locked Moved WPF
wpfcsharpgraphicsquestionlearning
13 Posts 4 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.
  • C Offline
    C Offline
    ciacia
    wrote on last edited by
    #1

    HI I have a .xaml file which contains view box which in tearn contains some graphics using WPF.Shapes. I have handdled few events (eg Click event of Path etc). Now I want to shift this file in a resource and use in my user control. Is it possble to get the events definded in the xaml inside the user control and can I access the veiwbox form the xaml inside my user control?

    L 1 Reply Last reply
    0
    • C ciacia

      HI I have a .xaml file which contains view box which in tearn contains some graphics using WPF.Shapes. I have handdled few events (eg Click event of Path etc). Now I want to shift this file in a resource and use in my user control. Is it possble to get the events definded in the xaml inside the user control and can I access the veiwbox form the xaml inside my user control?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Yes to everything, no problem. Works just like you are in a window.

      Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

      Just a grain of sand on the worlds beaches.

      J 1 Reply Last reply
      0
      • L Lost User

        Yes to everything, no problem. Works just like you are in a window.

        Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

        Just a grain of sand on the worlds beaches.

        J Offline
        J Offline
        Jammer 0
        wrote on last edited by
        #3

        Karl's Back!!!!! Wooo! Welcome fella!

        Jammer My Blog | Article(s)

        P L 2 Replies Last reply
        0
        • J Jammer 0

          Karl's Back!!!!! Wooo! Welcome fella!

          Jammer My Blog | Article(s)

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

          It certainly is good to see the Molenator back, and now a Microsoftie - oh how I wish. Way to go Karl.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          1 Reply Last reply
          0
          • J Jammer 0

            Karl's Back!!!!! Wooo! Welcome fella!

            Jammer My Blog | Article(s)

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Jammer, Thanks for the Woooo!!! Check my blog on Friday, XAMLPowerToys!!

            Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

            Just a grain of sand on the worlds beaches.

            J 1 Reply Last reply
            0
            • L Lost User

              Jammer, Thanks for the Woooo!!! Check my blog on Friday, XAMLPowerToys!!

              Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

              Just a grain of sand on the worlds beaches.

              J Offline
              J Offline
              Jammer 0
              wrote on last edited by
              #6

              No bother!! I just checked your blog (it's friday here!) and no XAMLPowerToys so I'm going to go sulk in the corner until they appear ... ;)

              Jammer My Blog | Article(s)

              L 1 Reply Last reply
              0
              • J Jammer 0

                No bother!! I just checked your blog (it's friday here!) and no XAMLPowerToys so I'm going to go sulk in the corner until they appear ... ;)

                Jammer My Blog | Article(s)

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Jammer, I added a new feature late last night and need just a little more testing time. Shooting for Saturday, Sunday at the latest. Dude, you'll be glad I took an extra day!

                Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                Just a grain of sand on the worlds beaches.

                P J 2 Replies Last reply
                0
                • L Lost User

                  Jammer, I added a new feature late last night and need just a little more testing time. Shooting for Saturday, Sunday at the latest. Dude, you'll be glad I took an extra day!

                  Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                  Just a grain of sand on the worlds beaches.

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

                  Hmmm. Now you've got me wondering. :-D

                  Deja View - the feeling that you've seen this post before.

                  My blog | My articles

                  L 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    Hmmm. Now you've got me wondering. :-D

                    Deja View - the feeling that you've seen this post before.

                    My blog | My articles

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    I just keep thinking about features!!!! AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH. Promise to stop adding features after tomorrow and get it out the door.

                    Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                    Just a grain of sand on the worlds beaches.

                    P 1 Reply Last reply
                    0
                    • L Lost User

                      I just keep thinking about features!!!! AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH. Promise to stop adding features after tomorrow and get it out the door.

                      Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                      Just a grain of sand on the worlds beaches.

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

                      I made the mistake of talking to somebody yesterday about a WPF calendar control. Now, I just have to write one (well, I started one last night).

                      Deja View - the feeling that you've seen this post before.

                      My blog | My articles

                      1 Reply Last reply
                      0
                      • L Lost User

                        Jammer, I added a new feature late last night and need just a little more testing time. Shooting for Saturday, Sunday at the latest. Dude, you'll be glad I took an extra day!

                        Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                        Just a grain of sand on the worlds beaches.

                        J Offline
                        J Offline
                        Jammer 0
                        wrote on last edited by
                        #11

                        Just ... one ... more ... thing ... doh!! ;)

                        Jammer My Blog | Article(s)

                        P L 2 Replies Last reply
                        0
                        • J Jammer 0

                          Just ... one ... more ... thing ... doh!! ;)

                          Jammer My Blog | Article(s)

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

                          I'm now trying to write a lookless calendar control. I'm guessing that I'm going to have to stop adding features at some point, but WPF just makes it so damn easy.

                          Deja View - the feeling that you've seen this post before.

                          My blog | My articles

                          1 Reply Last reply
                          0
                          • J Jammer 0

                            Just ... one ... more ... thing ... doh!! ;)

                            Jammer My Blog | Article(s)

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #13

                            XAML Power Toys Posted http://karlshifflett.wordpress.com/2008/08/31/xaml-power-toys/[^]

                            Cheers, Karl » CodeProject 2008 MVP My Blog | Mole's Home Page

                            Just a grain of sand on the worlds beaches.

                            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