Is there a way to dynamically show/hide the header of a ListView based on a condition at runtime.
This works for me without temlpate(template will not work if you need refer elements from the header in the parent .cs code). So have to containers with 0 and not 0 height and switch their visibility.