Applies to: Nevron Chart for .NET
How to disable customization features of the NChartCommandBarsManager component?
The following code will disable any customization feature of the command bars:
Disable the Customize dialog of the manager:
[C#]
this
.nChartCommandBarsManager1.AllowCustomize =
false
;
[VB.NET]
Me
.nChartCommandBarsManager1.AllowCustomize =
False
Disable each toolbar's Pendant command and permissions:
[C#]
foreach
(NDockingToolbar tb
in
this
.nChartCommandBarsManager1.Toolbars)
{
tb.AllowHide =
false
;
tb.HasPendantCommand =
false
;
}
[VB.NET]
For
Each
tb
As
NDockingToolbar
In
Me
.nChartCommandBarsManager1.Toolbars
tb.AllowHide =
False
tb.HasPendantCommand =
False
Next
Article ID: 53, Created On: 10/6/2010, Modified: 11/15/2010