I'm currently using a RadDropDownList with a set of DescriptionTextListDataItems in DropDownList mode and it looks great except that it's drawing a thin gray separator line between the item text and the item description like this:
Is there a way to remove this separator line and to have a separator line between the list items? What I'm looking for is something like this:
I'm not sure the way I'm doing it now is correct or the preferred way.
Text----------DescriptionText----------DescriptionIs there a way to remove this separator line and to have a separator line between the list items? What I'm looking for is something like this:
TextDescription----------TextDescriptionI'm not sure the way I'm doing it now is correct or the preferred way.
private void SearchTypeList_CreatingVisualListItem(object sender, CreatingVisualListItemEventArgs e){ e.VisualItem.BorderColor = SystemColors.Control; //e.VisualItem.Children[0].Children[1].Children[1].ShouldPaint = false; foreach(var child in e.VisualItem.Children) { if(child is StackLayoutElement) { foreach(var child1 in child.Children) { if(child1 is StackLayoutElement) { foreach(var child2 in child1.Children) { if(child2 is LinePrimitive) { child2.ShouldPaint = false; return; } } } } } }}