Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I have 5 xtranavbars in my windows form. For some unexplained reason, the first time the form is opened, I have to click twice on any navbar to open it. This only happens the first time, after that I will be able to open any navbar by clicking just once...

                                0

                                Hello,

                                Please provide a sample to illustrate this issue. We don't know how to replicate this inconsistent behavior.

                                Thank you, Marina

                                0

                                OK, let me change it then, how could I manage to open the narbar by clicking on any part of it, not only on the arrow at the right side of it?

                                0

                                Hi,

                                You can handle the MouseDown event in the following manner:

                                [VB.NET]
                                Imports Microsoft.VisualBasic Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Data Imports System.Drawing Imports System.Text Imports System.Windows.Forms Imports DevExpress.XtraNavBar Namespace WindowsApplication17 Public Partial Class Form1 Inherits Form Public Sub New() InitializeComponent() End Sub Private Sub navBarControl1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) Handles navBarControl1.MouseDown If e.Button = MouseButtons.Left Then Dim navBar As NavBarControl = TryCast(sender, NavBarControl) Dim hitInfo As NavBarHitInfo = navBar.CalcHitInfo(New Point(e.X, e.Y)) If hitInfo.InGroupCaption AndAlso (Not hitInfo.InGroupButton) Then hitInfo.Group.Expanded = Not hitInfo.Group.Expanded End If End If End Sub End Class End Namespace

                                Let me know if you need further assistance.

                                Thank you, Marina

                                0

                                Thank you Marina.

                                If you need additional product information, write to us at info@devexpress.com 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, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

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