I have a simple but confused me whole afternoon question:
I create a chart, and use NChartCommandBarsManager as default command tools, I want the toolbar to default dock to left instead of top, but I didn't find the right property, I know this maybe a very easy question, but I didn't find the answer even searching in the document and on the web.
I have to use
for (int i = 0; i < nChartCommandBarsManager1.Toolbars.Count; i++){
nChartCommandBarsManager1.Toolbars[i].Dock =
DockStyle.Left;}
This kind of working except that if the control is not tall enough, other toolbar still dock on the top.
Another similiar question is how to customize command before application runs, like only remain tools toolbar?
My way is not good at all: I use a loop, and try to get the toolbar's name:
if (desc!= ChartCommandRange.Tools.ToString()){
toolbar.Hide();
}
I am just start to try to use nevron, any comments are hightly appreicated.