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.

ListBarItem and icons

Thread ID:

Created:

Updated:

Platform:

Replies:

1042 Sep 16,2002 10:43 PM Sep 18,2002 06:51 AM Windows Forms 1
loading
Tags: Tools
Ivan Obraztsov
Asked On September 16, 2002 10:43 PM

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 06:51 AM

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

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.

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.

;