Hello James, I apologize for the lacking documentation. It's still in the writing unfortunately ( I didn't have time to finish it as I have other pressing matters in the coming release due this saturday). Asking here is the best way to get by, so you do
A ToolBarItem can be disabled in several ways. You can do it declaratively (or at designtime through the toolbars property and drilling down to a toolbarset and subsequently to a ToolBarItem) by changing the Enabled property of the ToolBarItem. While it's
easy, its not very convenient because any small change you make at designtime will serialize all the default properties in your page declaratively.
Another way is to do it through the skinning framework, but I've never gotten to documenting this either.
The easiest I can recommend is to do it in code. Basically, the toolbar items are created and populated during page_load stage, so you should try at a later phase such as Page_LoadComplete. In this handler just look for the ToolBarItem your interested in
by drilling down in code eg :
protected void Page_LoadComplete(object sender, EventArgs e)
/*A ToolBarSet holds a collection of ToolBarItem instances so :
First retrieve the ToolBarSet that you are interested in ;
ToolBarSets are indexed from 0 to x in the same order they appear in the editor. So if you wanted to retrieve the Bold item in the ToolBar,
* which is contained in the first ToolBarSet, you can access it like this :
ToolBarSet tbs = Editor1.ToolBars;
foreach (ToolBarItem tbi in tbs.Items)
if (tbi.Command.Equals("Bold", StringComparison.OrdinalIgnoreCase))
tbi.Enabled = false;
The above code will disable the Bold button in the ToolBar. Hopefully it's clear enough to get you started.