Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi Team,

                                    I am looking for a zomm feature on Devexpress xtratreelist and xtragrid.
                                    Is there any way we can zoomin and zoomout the Devex controls like treelist and xtragrid auto size fonts and nodes.
                                    Please let me know if any way to acheive the zoom functionality.

                                    Thanks in Advance

                                1 Solution

                                Creation Date Rating Importance Sort by

                                GridControl and TreeList do not provide such a capability. However, you can implement the required functionality manually by handling the GridView.MouseWheel or TreeList.MouseWheel event. In this event handler you can change fonts of necessary items and change the width of columns. In the attached sample project I have used the BestFitColumns method to accomplish this task. If the BestFitColumns method does not suit your needs, change the column width manually.

                                • Sai Yrks 01.03.2013

                                  Hi John,

                                  Thanks for your reply. The above solution works for zooming on XtraTreelsit.
                                  Currently I am facing a small issue like when teh zooming is applied on nodes the node text is not visible fully. once we focus on Node then it is showing the full text. Attached is the image.

                                  Is there any way to adjst the text perfectly to the node cell

                                  Thanks in Advance

                                • Maxim (DevExpress Support) 01.06.2013

                                  Hi Sai,

                                  Based on your screenshot, it looks like your TreeList control has specific settings that customize row height. To use the AutoHight feature, please turn on the TreeListOptionsBehavior.AutoNodeHeight property and set the TreeList.RowHeight property to the -1 value.

                                  If this does not help you, please provide a simple sample to illustrate the issue so that we can proceed with our research.

                                  I hope you find this information useful.

                                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