Skip to main content

Expanding and Collapsing Cards

Each card displays a button in the top left corner of its header. Clicking this button collapses a card. Clicking this button once again expands the card.

ExpandCollapseCards

A Card View provides multiple methods, allowing you to expand/collapse individual cards, as well as all cards. These methods are listed below:

Method Description
CardView.ExpandCard Expands the specified card.
CardView.ExpandAllCards Expands all cards displayed within a Card View.
CardView.CollapseCard Collapses the specified card.
CardView.CollapseAllCards Collapses all cards displayed within a Card View.