You have two ways to create tools with the editor. The first way is by using the template property and the second is by using code: the sample below shows the second way. To use it, you have to first set the property Template to an empty string, and then you can use your code to create the toolbars.