Are there Infragistics utility classes to convert a ButtonTool to a PopupMenuTool?
Now I just delete the ButtonTool and insert a new PopupMenuTool in place of it.
Thx, Lieven Cardoen
Hello Lieven,
Thank you for contacting Infragistics Developer support.
What you could do in order to change the tool type is to right click the tool, from the context menu to choose “ChangeToolType…”. After that a new window will appear and you can choose which tool type you want to use.
I have attached a video file in which I demonstrate how to do this.
Please let me know if you have any additional questions.
Sorry, wasn't clear enough, I meant changing it in code, @runtime...
Lieven
Thank you for the clarification.
We don’t have such utility classes. While you can cast all tools to the ToolBase abstract class, it would require a lot of work to change the look and behavior of the tools. At this point it is best to just delete the old tool and create a new one.