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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Border around dropdowncontainer

Thread ID:





26160 Mar 15,2005 09:03 PM UTC Mar 15,2005 10:13 PM UTC WinForms 1
Tags: GridControl
Ted Osberg
Asked On March 15, 2005 09:03 PM UTC

How to I get my CustomDropDown class to to display the same borderstyle you use in your sample "InDepth\DropDownGrid"? The only options I see for the dropdowncontainer are Fixed3D, FixedSingle, or None, yet the borderstyle in GridA (for example) clearly shows a different style. How can I set mine to show the same? thanks!

Administrator [Syncfusion]
Replied On March 15, 2005 10:13 PM UTC

It is the border on the form that holds the popup container that you need to set. This parent form is a little tough to get at, but you can do it in the CurrentCellShowingDropDown event.
private void grid_CurrentCellShowingDropDown(object sender, GridCurrentCellShowingDropDownEventArgs e)
	DropDownGridCellRenderer cr = this.gridControl1.CurrentCell.Renderer as DropDownGridCellRenderer;
	if(cr != null)
		cr.PopupControlContainer.PopupHost.FormBorderStyle = FormBorderStyle.FixedDialog;


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon