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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Showing a DropDownBarItems PopupControlContainer from code?

Thread ID:

Created:

Updated:

Platform:

Replies:

34580 Sep 13,2005 09:19 AM UTC Sep 14,2005 12:30 PM UTC WinForms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On September 13, 2005 09:19 AM UTC

Hi, I am using a DropDownBarItem in my applications toolbar (there is a Bar that is added to the MainFrameBarManagers Bars collection that contains the DropDownBarItem). What i want to know it there is a way to PopUp the DropDownBarItems PopupControlContainer from code without having to specity its location. The only way i manage to force the popup from code is like this. m_dropDownBarItem.PopupControlContainer.ShowPopUp(location); But i would like to force the popup at its default location... At the same location it is shown if i click the "small black arrow" on the BarItem in the toolbar. Any help would be apreciated thanx! Peter Erikson

Administrator [Syncfusion]
Replied On September 14, 2005 08:50 AM UTC

Hi Peter, I am afraid it is not possible to popup the DropDownBarItems PopupControlContainer from code without specifying the location. We appreciate your interest in Syncfusion products. Regards, Ebenezer.P

Administrator [Syncfusion]
Replied On September 14, 2005 12:30 PM UTC

OK, I´ll have to calculate the position myself then i guess. I managed to find out how to allign the PopUpControlContainer to the DropDownBarItem (i think) through the myDropDownBarItem.PopupControlContainer.PopupHost.CurrentRAlign property. But now the question is how i am supposed to get the current location and size of the DropDownBarItem? /Peter Erikson

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

;