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

ListBarItem and icons

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

1 Reply

AD Administrator Syncfusion Team 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

Live Chat Icon For mobile
Up arrow icon