This project is read-only.

Programatically creating buttons

Jan 29, 2015 at 6:03 PM
Edited Jan 29, 2015 at 6:03 PM
In the test project you have the code below, but it doesn't deal with Icons, can you please provide an example of the below which deals with large and small icons... along with the test icons as I can't get it to happen
    public Button CreateRibbonButton()
        var button = new Button();
        var fooCommand1 = new FooCommand1();
        button.Command = fooCommand1.ItemCommand;

        button.Header = "Foo";

        return button;
Jan 29, 2015 at 7:55 PM
Please post this on github again as we moved there some time ago. You can find the link on the home tab here.
Marked as answer by batzen on 1/29/2015 at 11:55 AM