Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
910
How to default the Filter Criteria Card to Expanded, while all other cards are Collapsed.
posted

I was wondering how I can get a handle to the Filter Criteria Card.

I currently have the default behavior to collapse all cards when the CardView is loaded.

However, I would like the Filter Criteria to be expanded.

I looked through the documentation and couldnt find how to get access to the Filter Criteria Card to manually set it to expanded.

Thanks

Allen

  • 9836
    Verified Answer
    posted

    Allen,

    You can use the ViewableRecords collection to obtain the first item which is the FilterRecord. Then you can use the IsContainingCardCollapsed property to change the state e.g.

    FilterRecord filterCard = xamDataCards1.ViewableRecords[0] as FilterRecord;

    filterCard.IsContainingCardCollapsed = false;

    Hope this helps!