Expands/collapses the details view
Instead of setting this property one can use expand and collapse methods.
bool expanded;