After getting my listview to display custom items correctly (see http://http//https//www.telerik.com/forums/custom-listview-items) I noticed that my data is not being displayed correctly. I'm getting differing results, but often the first item in the list will mirror the last, but not all of the data. See the attached screenshot. The red values show what they should be. They are all ok except the first two values of the first item. I'm quite sure my DataSource is set up correctly as I can view it in debug. Maybe you could explain how SynchronizeProperties works, as I can't find an explanation of it in the docs. Perhaps I'm using it incorrectly. The code for creating the datasource is below.
_dataSource =
new
BindingList<RuleItemVisualItemDef>();
_myRule.RuleItemDefs.ForEach(def => _dataSource.Add(
new
RuleItemVisualItemDef
{
RuleItemId = def.RuleItemId,
Sequence = def.Sequence,
Name = def.Name,
RuleItemText = GetRuleItemTextFor(def)
}));
lstvwRuleItems.DataSource = _dataSource;