A newer version of this page is available. Switch to the current version.

CardView.IsCardExpanded(Int32) Method

Indicates whether the specified card is expanded.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll


public bool IsCardExpanded(
    int rowHandle
Public Function IsCardExpanded(
    rowHandle As Integer
) As Boolean


Name Type Description
rowHandle Int32

An integer value that specifies the card's handle.


Type Description

true if the specified card is expanded; otherwise, false.


To expand/collapse a card, use the CardView.ExpandCard and CardView.CollapseCard methods, respectively. The CardView.ExpandAllCards and CardView.CollapseAllCards methods allow you to expand and collapse all cards, respectively.

For information on how end-users can expand/collapse cards, see Expanding and Collapsing Cards.

See Also