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

ListBox.Items property

Thread ID:




14451 May 27,2004 10:29 AM UTC WinForms 0
Tags: FAQ
Terry Foster
Asked On May 27, 2004 10:29 AM UTC

I''ve recently noticed a strange anomaly related to the ListBox control. While stepping through the Syncfusion source to try to fix a small bug, I tracked the issue down to the fact the even though the DataSource property of a GridComboBoxListBoxHelper (which is derived from ListBox) object was set, along with ValueMember, DisplayMember, and BindingContext, the Items property still showed zero items. Documentation in MSDN suggests that the Items property should always reflect what is set in the DataSource property. Does anyone have any idea under what condition this might not be the case? Thanks, Terry


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