Results 1 to 4 of 4

Thread: [RESOLVED] Adding additional components

  1. #1

    Thread Starter
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Resolved [RESOLVED] Adding additional components

    I need to make a custom control and decided, before that, to see if there were any additional components that I could utilize.

    When looking through the list, I found a component called an Expander. So I decided to add it and see how it works.

    After adding it, I couldn't find it at all within the toolbox. I went back to Choose Items and it was checked, but still not in the toolbox.

    It's probably important to note that it is a WPF component and this is not a WPF Project. Would that make a difference?

    Is there something else I may be doing wrong?
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

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

    Re: Adding additional components

    Quote Originally Posted by weirddemon View Post
    It's probably important to note that it is a WPF component and this is not a WPF Project. Would that make a difference?
    That could be it. You don't see any ASP.NET server controls in your Toolbox when you're creating a WinForms either. If you want to use WPF controls then you'll need to create a WPF project. If you're creating a WinForms project then you can only use WinForms controls.

    That's not strictly true as both WPF and WinForms do include containers that can host controls of the other type. That's only really intended to be used as an interim measure though, so don't develop for that scenario.
    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
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Adding additional components

    That makes sense. When adding normal WinForm controls, they appeared in the toolbox.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

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

    Re: [RESOLVED] Adding additional components

    I think that the Expander is like the collapsible group boxes that you see in Windows Explorer when the folder tree isn't displayed. There is no WinForms control like that in the Framework but there are plenty of third-party controls that you could find on the web. I believe that RobDog888 created one some time ago.
    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

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