I can iterate over the tools and see them but I need to change the tool text and set the enabled property on specific tools. Any examples?
Hello Tim,
In this case you could create Recursive function to set SharedProps properties for all items.
Let me know if you have any questions.
This gets me closer but not all the way. I can see the parent menu in the keys but that tool item has children. The child items are the ones I need to set the caption and other shared properties on.
The sample
Maybe one possible solution could be:
private void ultraButton1_Click(object sender, EventArgs e)
{
int k=0;
foreach (ToolBase tool in ultraToolbarsManager1.Tools)
tool.SharedProps.Caption ="Item "+ k.ToString();
tool.SharedProps.Enabled =false;
k++;
}
Please take a look at the attached sample and video file for more details.