Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CardView.IsCardExpanded(Int32) Method

Indicates whether the specified card is expanded.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool IsCardExpanded(
    int rowHandle
)

#Parameters

Name Type Description
rowHandle Int32

An integer value that specifies the card’s handle.

#Returns

Type Description
Boolean

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

#Remarks

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