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. Data binding in WPF

Data binding in WPF

Scheduled Pinned Locked Moved WPF
wpfcsharpwinformswcfquestion
3 Posts 3 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
    Razanust
    wrote on last edited by
    #1

    In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?

    K A 2 Replies Last reply
    0
    • R Razanust

      In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?

      K Offline
      K Offline
      Keith Barrow
      wrote on last edited by
      #2

      The databinding in WPF is completely different to Winforms, but much better once you get the hang of it and one of the principle reasons I prefer WPF. I suggest you look for resources on WPF databinding, because with the improved power comes more complexity. Moving Toward WPF Data Binding One Step at a Time[^] by Josh Smith is a very good place to start. [Edit] You should also look up MVVM with WPF once you've got the binding down, it will make life much easier.

      Sort of a cross between Lawrence of Arabia and Dilbert.[^]
      -Or-
      A Dead ringer for Kate Winslett[^]

      1 Reply Last reply
      0
      • R Razanust

        In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?

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

        WPF binding concepts are a little different. Start here[^].

        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