Hi
How to remove the line beneath UltraListViewGroup name? I have attached the screenshot for better understanding. The screenshot is having 3 listviews that are getting populated if the data exists in backend.
Please help... Its quite urgent...
Thanks in advance.
Assign an instance of this class to the control's CreationFilter property:public class GroupLineRemoverCreationFilter : IUIElementCreationFilter{ public GroupLineRemoverCreationFilter() { }
void IUIElementCreationFilter.AfterCreateChildElements(UIElement parent) { UltraListViewGroupUIElement groupElement = parent as UltraListViewGroupUIElement; if ( groupElement != null ) { UltraListViewGroupHeaderLineUIElement lineElement = groupElement.GetDescendant( typeof(UltraListViewGroupHeaderLineUIElement) ) as UltraListViewGroupHeaderLineUIElement;
if ( lineElement != null ) groupElement.ChildElements.Remove( lineElement ); } }
bool IUIElementCreationFilter.BeforeCreateChildElements(UIElement parent) { return false; }}