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. Visual Studio
  4. What do I need to do to have a wpf custom control load itself into the visual studio toolbox

What do I need to do to have a wpf custom control load itself into the visual studio toolbox

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiowpfwindows-admindata-structures
2 Posts 2 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.
  • D Offline
    D Offline
    Dom Sinclair
    wrote on last edited by
    #1

    I have created a WPF Custom Control (NOT a user control). I would now like to properly install this control into end users machines such that when they select a wpf project in visual studio it is automatically loaded. I have searched high and low through Code Project, Stack Overflow and of course google, but nowhere can I find anything that explains simply what (if any ) attributes I might need to add to this custom control and what I may need to set in the registry in order to achieve this result. Most articles and tutotials now seem to suggest going down the visx route and using the WPF Toolbox control template as the base for ones control, but that is based on User Control and by doing that I'd lose the additional benefits I've gained from creating a custom control from scratch (although I do like the idea of using a visx, but cannot see how to add an already complete custom control to one and achieve the result I'm after). So has anyone here faced this issue and can tell me what it is that I need to do with a finished wpf custom control in order to get it successfully installed into an end users machine. Ideally I would like to target visual studio 2010 upwards, but fot the time being I'd be happy just figuring out where to start.

    L 1 Reply Last reply
    0
    • D Dom Sinclair

      I have created a WPF Custom Control (NOT a user control). I would now like to properly install this control into end users machines such that when they select a wpf project in visual studio it is automatically loaded. I have searched high and low through Code Project, Stack Overflow and of course google, but nowhere can I find anything that explains simply what (if any ) attributes I might need to add to this custom control and what I may need to set in the registry in order to achieve this result. Most articles and tutotials now seem to suggest going down the visx route and using the WPF Toolbox control template as the base for ones control, but that is based on User Control and by doing that I'd lose the additional benefits I've gained from creating a custom control from scratch (although I do like the idea of using a visx, but cannot see how to add an already complete custom control to one and achieve the result I'm after). So has anyone here faced this issue and can tell me what it is that I need to do with a finished wpf custom control in order to get it successfully installed into an end users machine. Ideally I would like to target visual studio 2010 upwards, but fot the time being I'd be happy just figuring out where to start.

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

      A VSPackage may suit your needs; check out this link: http://www.componentowl.com/articles/visual-studio-toolbox-control-integration[^]

      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