RibbonItemCollectionBuilder<TItemCollectionBuilder>.AddToggleButton Method

Name Parameters Description
AddToggleButton(Boolean) selected Adds a new button item to the end of the ribbon item collection.
AddToggleButton(String, String, Boolean, String, Boolean, Boolean) text, commandName, beginGroup, icon, showText, selected Adds a new button item to the end of the ribbon item collection.