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

ListBarItem and icons

Thread ID:





1042 Sep 17,2002 02:43 AM UTC Sep 18,2002 10:51 AM UTC WinForms 1
Tags: Tools
Ivan Obraztsov
Asked On September 17, 2002 02:43 AM UTC

Hello! Is it possible to create a ListBarItem with different icons next to ChildCaptions as a standard BarItems? Best regards, Ivan

Administrator [Syncfusion]
Replied On September 18, 2002 10:51 AM UTC

Ivan, Yes, you can do this. Here are the steps: 1) Derive a class from ListBarItem. 2) Override this method: PostExpand(ParentBarItem parent, BarItem firstChild, BarItem lastChild) 3) When this gets called, the firstChild and the lastChild are the "expanded" items and their ImageIndex and ImageList property could be set. 4) Use this derived class in place of ListBarItem, in your form. Regards, Praveen Ramesh


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon