Current filter:
                                You should refresh the page.
                                Support Center

                                To get all selected objects in the GridView, you should iterate via all selected rows, get row handles, and then by using the GetSelectedRows method get the selected row object itself.
                                See Also:
                                Selections Overview

                                • Johny Woller Skovdal 03.17.2014

                                  May I sugges using LINQ to improve readability a bit:
                                  gridView1.GetSelectedRows().Select(rowHandle => gridView1.GetRow(rowHandle)).Cast<MyObject>();

                                  (if you use mix types you bind to in your grid, consider using "OfType" instead of "Cast")

                                Show Implementation Details
                                Select file
                                • Form1.cs
                                • Program.cs
                                Select language
                                • C#
                                • VB.NET
                                Select version
                                • 13.1.4 - 17.2.3
                                • 8.2.6 - 12.2.18

                                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