Hello,
I've two questions to DataCards:
1. I want to show only one card. What's the best way to do this?Is it possible to use a DataCard-Item without a XamDataCards-Form-Object or had I use a XamDataCards-Object and fill this with only one Item?
2. I want to place my own Button with new functionality in the header of each card. Is it possible? How? ;o)
Greets and many, many thanks...
Marco
Hi Dimi,
yes, I've solved it. ;o)Thank you for your question.
Greetings from Germany...Marco
Hi Marco,
I just wanted to know if you were able to solve your issue based on Alex's suggestions or you still need help? Just let me know.
Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hello Marco,
If you want to have only one card, you can just add one object in the DataItems collection of the XamDataCards control. You could also use the DataSource property and set it to a collection with only one item.
Regarding 2, similar to the XamDataGrid, the XamDataCards uses LabelPresenters to display the labels (headers). What you can do is to modify the ContentTemplate or Template properties of the LabelPresenter elements (with a style) and place your custom content or button inside.