Results 1 to 8 of 8

Thread: [RESOLVED] Looking for a similar control (description inside)

  1. #1

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Resolved [RESOLVED] Looking for a similar control (description inside)

    Hi guys!

    Does anyone know of a specific control that will work something like this. It collapsible sections with headers and can display various items under the sections with an images and a clickable elements in the section.

    Something like what Sandra has. See the screenshot I found below.

    If anyone knows of a control that can act in a similar way, even if not identical please post and let me know!
    Attached Images Attached Images  
    My Blog.

    Ryan Jones.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Looking for a similar control (description inside)

    WPF has such a control built in. I believe that it's called an Expander.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Looking for a similar control (description inside)

    Interesting. I was interested in learning WPF as part of my next project. Can it be integrated into an existing C# project or must it be created as a new project from scratch?
    My Blog.

    Ryan Jones.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Looking for a similar control (description inside)

    Quote Originally Posted by sciguyryan View Post
    Interesting. I was interested in learning WPF as part of my next project. Can it be integrated into an existing C# project or must it be created as a new project from scratch?
    You can't just mix and match unfortunately. There is some interop between WinForms and WPF in that each provides a host control inside which you can host controls of the other type. That's only intended as an interim solution though. You'd be far better served creating a new WPF project from scratch.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Looking for a similar control (description inside)

    Very well then. I have on further question for you, though it would be in regards to WPF rather than the the topic here.

    Are there any specific advantages to using WPF over regular Windows forms? I understand MS is pushing the new direction more but does it have any specific advantages?
    My Blog.

    Ryan Jones.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Looking for a similar control (description inside)

    I've only just started dabbling in WPF myself so I don't know all the details. It feels hard when you're used to WinForms but that's just because it works differently. Once you're used to it I'm sure it's no big deal. WPF makes many layout and styling related things much easier than WinForms, which has many limitations in those areas. WPF has been built from the ground up with the goal of creating easily customisable UIs.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: Looking for a similar control (description inside)

    I am not sure on this, but there is also the ExplorerBar in the Windows 7 API Codepack (I think it also works in Vista though). The ExplorerBar is basically just the windows explorer control. It behaves in just the same way, so I can imagine that it also supports those dividers, though I haven't seen them before.
    The windows explorer (the real one) has those same dividers, but I think those from your screenshot are in Vista. In Windows 7 they look slightly different (larger).

    If you don't want to go WPF this might be a good option (just google it). That said, if you do want to go WPF, the control is also available for WPF so you can still use it.

  8. #8

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: [RESOLVED] Looking for a similar control (description inside)

    I have some work to do in order to get the WPF control to behave like the one in my image but that's nothing I can't handle.

    Thanks for the information all. WPF certainly seems interesting and worth exploring further.
    My Blog.

    Ryan Jones.

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