I have following menu structure:
|-> By &three point
So last menu item is displayed in customize as “By &three point”, but it have to displayed as “Rectangle by three point”. How I can specify different text and display text for each BarItem?
ADAdministrator Syncfusion Team June 22, 2005 05:34 PM
Are you using the beta of VS .NET 2005? There has been a similar issue already reported in such a situation.
IOIvan ObraztsovJune 24, 2005 09:19 AM
> Are you using the beta of VS .NET 2005? There has been a similar issue already reported in such a situation.
No, I use VS 2003.
IOIvan ObraztsovJune 28, 2005 05:13 AM
I want to define more exactly my question.
The BarItem have property "Text". This text is displayed in menu and in customize dialog. But there are situations than text in menu and in customize dialog have to be different. For example:
Menu structure is:
_____|-> By three points
_____|-> By three points
So there are two different BarItems this same text. It''s normal for menu because they are in different submenus. But in customize dialog all items in category "Draw" are in the one list, so they must have different names. For example, "Rectangle by three points" and " Circle by three points".
ADAdministrator Syncfusion Team June 28, 2005 03:15 PM
We provide a way to customize the customization dialog. This should allow you to display whatever you want when the user invokes customization.
Please refer to the online documentation for MainFrameBarManager.CustomizationPanel. If you have any questions about it, please let me know.
ADAdministrator Syncfusion Team September 27, 2005 08:52 AM
> We provide a way to customize the customization dialog. This should allow you to display whatever you want when the user invokes customization.
> Please refer to the online documentation for MainFrameBarManager.CustomizationPanel. If you have any questions about it, please let me know.
I inherit my own control from CustomizationPanel to change BarItem''s texts in commands grid. But my changes don''t apply. Grid always show standard BarItem text.
This is my implementation:
/// Summary description for CustPanel.
public class CustPanel : CustomizationPanel
gridHostPanel.ControlAdded += new ControlEventHandler(gridHostPanel_ControlAdded);
private void gridHostPanel_ControlAdded(object sender, ControlEventArgs e)
MenuGridControlCustomizable ctrl = gridHostPanel.Controls as MenuGridControlCustomizable;
ctrl.UpdatingChanged += new EventHandler(ctrl_UpdatingChanged);
private void ctrl_UpdatingChanged(object sender, EventArgs e)
MenuGridControlCustomizable grid = sender as MenuGridControlCustomizable;
if(grid == null) return;
grid.UpdatingChanged -= new EventHandler(ctrl_UpdatingChanged);
GridModel model = grid.Model;
for(int row=1; row<=model.RowCount; row++)
GridStyleInfo info = model[row, 2];
if(info.CellValueType != typeof(string)) continue;
info.CellValue = (string)info.CellValue + "aaa";
grid.UpdatingChanged += new EventHandler(ctrl_UpdatingChanged);
IOIvan ObraztsovSeptember 27, 2005 08:54 AM
Sorry, I forgot enter my name.
ADAdministrator Syncfusion Team September 28, 2005 07:05 AM