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

ParentBarItem and IsRecentlyUsedItem property

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?

1 Reply

Administrator 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
Loader.
Live Chat Icon For mobile
Up arrow icon