Results 1 to 6 of 6

Thread: What sort of control should I use?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    What sort of control should I use?

    Hello Guys,

    So I'm making a game editor in WPF and one of the things I wanted to do was to make a "canvas" that I could drag and drop pictures onto, I need to be able to move these pictures around while taking note of their coordinates. Does anyone have any suggestions on what sort of control would best fit this purpose? I was thinking of a big grid as I could section it off if needed with lines but I dunno maybe someone else has some more insight into this?

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: What sort of control should I use?

    You want a canvas so whats wrong with the Canvas control?

    If you have a look at one of the sample projects included with Expression Blend I'm pretty sure there is a similar style app in there where you can move pictures around on a big 'wall' and I'm sure that uses the Canvas control
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: What sort of control should I use?

    Doh! Never thought of that, im off to the cinema tonight but will have a look and let you know how I get on!

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: What sort of control should I use?

    ps, which project is it your talking about?

  5. #5
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: What sort of control should I use?

    The Blend project? Its called NoteTable and is in the Sample projects section
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: What sort of control should I use?

    cool, il check it out!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width