We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Height of XPToolBar

Thread ID:

Created:

Updated:

Platform:

Replies:

27555 Apr 14,2005 12:51 PM UTC Apr 15,2005 05:09 PM UTC Windows Forms 1
loading
Tags: Tools
Andrey Plinda
Asked On April 14, 2005 12:51 PM UTC

Hello! See attached project. If you press "Hide" button - size of xpToolBar remain unchanged. Only after resizing form it collapses from two rows to one. Best regards. XPToolBarTest2_555.zip

Administrator [Syncfusion]
Replied On April 15, 2005 05:09 PM UTC

Hi Andrei, The problem is that the Layout event only fires when the XPToolBar is resized, and not when BarItems are hidden or shown. This happens because BarItems are not actually controls, so the requirements for Control.Layout firing are not met. You can workaround this by adding this.xpToolBar1.Size = this.xpToolBar1.PreferredSize wherever you set the visibility of BarItems rather than doing it in the Layout event handler. However, I see that the Layout event firing whenever a BarItem is shown or hidden is a reasonable expectation. Therefore, I have entered it as Feature Request #152. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;