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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ParentBarItem and IsRecentlyUsedItem property

Thread ID:

Created:

Updated:

Platform:

Replies:

1437 Oct 29,2002 06:11 PM UTC Oct 30,2002 11:26 AM UTC Windows Forms 1
loading
Tags: Tools
Nik Vale
Asked On October 29, 2002 06:11 PM UTC

The problem is that ParentBarItems are never really clicked and so if you set thier IsRecentlyUsed property to false it will always be hidden when partial menus are being used. Ideally I would like a ParentBarItem to be shown in a partial menu if any of it's children has it's IsRecentlyUsed property set to TRUE. By adding the following piece of code to the ParentBarItem class this can be achieved. public override bool IsRecentlyUsedItem { get { foreach(BarItem item in this.barItems) { if(item.IsRecentlyUsedItem) return true; } return base.IsRecentlyUsedItem; } set { base.IsRecentlyUsedItem = value; } } Maybe this could be included in the next release?

Administrator [Syncfusion]
Replied On October 30, 2002 11:26 AM UTC

Nik, You are right. The suggested fix will also work pretty well. We will implement this for our next release. Thanks for the suggestion. Regards, Praveen Ramesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;