Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > Adding designer verbs / commands to the property grid in my DSL?
Ask a questionAsk a question
 

AnswerAdding designer verbs / commands to the property grid in my DSL?

  • Thursday, December 20, 2007 11:15 AMJonas Anderö-Pettersson Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have a wet wish to add some way to do some commands based on the selection. I guess context menus could do the job, but since since parts of my model only is availble through my explerer tree, I'd rather do it through the property grid.

     

    Is there any way to add Commands to the grid, based on the selection? Ideally, only adding some attributes to my domain classes would be nice, but I fear that I need to to do more...

     

    Any ideas?

Answers

  • Thursday, January 17, 2008 4:24 PMstalamoni Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,
    In case you are still interested check out this blog entry .
    I was able to implement this technique and seems to be the easiest way to expose simple commands from shapes.

    Sebastian Talamoni

All Replies

  • Thursday, January 17, 2008 4:24 PMstalamoni Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,
    In case you are still interested check out this blog entry .
    I was able to implement this technique and seems to be the easiest way to expose simple commands from shapes.

    Sebastian Talamoni