Current filter:
                                You should refresh the page.
                                Support Center
                                  • I have a LayoutView that displays many cards. I would like to set the caption of each of the cards to data that is unique for each card. For example, if each card was a database entry for a fruit, I would like to display the fruit name in the caption of the Card. So, when the cards are minimized, it would say: "Apple", "Banana", "Grapes", etc. (Our data is stored in XPO). Do I need to loop through each card, or is there an easy way to set the CardCaptionFormat in the GotFocus event of the layout?

                                    As always, thank you for your help!



                                If your row has a field with the necessary caption, you can provide a column index in your format string. Please note that your column index begins with 2. I've attached a sample.

                                Let me know if you need further assistance.

                                Thank you, Marina


                                Wow - I was trying to make it way more complicated. Thank you!

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners