We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How change text for Customaize menu item

How change text for Customaize menu item for ToolbarListBarItem

3 Replies

AD Administrator Syncfusion Team March 23, 2004 03:40 PM

Hi Tors, Presently, it is not possible to change the Text/Font settings for the "Customize" BarItem in the ToolBarListItem menu. However, we have a related feature request (QA #419) in this regard, and we will try our very best to implement this feature at the earliest. We appreciate your feedback, and thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


TO Tors March 24, 2004 01:13 AM

>How change text for Customaize menu item >for ToolbarListBarItem I really can not change "Customize" on, for example, "Settings"?


AD Administrator Syncfusion Team March 25, 2004 08:36 AM

Hi Tors, Presently, it is not possible to do so. However, we have now made the CommandBarManager''s PrepareToolbarListItem method as virtual (this change is still internal and will be available only in post v2.0.3.0 releases). You could derive from the CommandBarManager to create a custom CommandBarManager, override the PrepareToolbarListItem method, and set the last item''s Text in its ParentBarItem''s Items collection to any desired string value. The following code snippet illustrates the same. public class MyCommandBarManager: CommandBarManager { public override void PrepareToolbarListItem(ParentBarItem parent) { base.PrepareToolbarListItem(parent); // access the last item and set it''s text. } } public class MyMainFrameBarManager : MainFrameBarManager { protected overide CommandBarManager CreateCommandBarManager() { return new MyCommandBarManager(); } } Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon