We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CardView Header Control

Thread ID:

Created:

Updated:

Platform:

Replies:

124034 May 10,2016 07:15 PM UTC May 11,2016 12:17 PM UTC WPF 1
loading
Tags: CardView
Brent Hoskisson
Asked On May 10, 2016 07:15 PM UTC

I have two questions regarding CardView that is not answered by the documentation.

1.  I have ShowHeader="True" but CanGroup="False".  How can I remove the text that says "Drag a column header here to group by that column"?

2.  I have CanSort="True".  However the list give ALL properties in the model.  How can I say to sort on just two or three of the properties?

Thanks,

Brent Hoskisson



Vijayalakshmi Roopkumar [Syncfusion]
Replied On May 11, 2016 12:17 PM UTC

Hi Brent,

Thank you for using Syncfusion products.

Query#1: I have ShowHeader="True" but CanGroup="False". How can I remove the text that says "Drag a column header here to group by that column"?

To remove the text "Drag a column header here to group by that column" in the CardView, you can get the TextBlock from the Cardview template using its name "grouptext" and collapse its visibility.

Query#2: I have CanSort="True". However the list give ALL properties in the model. How can I say to sort on just two or three of the properties?

In our CardView, the items are added in the ListBox for sorting based on the GroupNames collection which contains GroupInfo class. To add the required field, clear the GroupNames collection and add the respective fields in it.

The same has been demonstrated in our sample. Please download it from the following location:

Sample:CardView_124034_(3)

Regards,
Vijayalakshmi V.R.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;