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

Hide combobox selection button when cell doesn''t have focus

Thread ID:





56834 Feb 21,2007 03:40 PM UTC Feb 21,2007 05:16 PM UTC WinForms 1
Tags: GridControl
Kyle DeVoe
Asked On February 21, 2007 03:40 PM UTC

Is there a way to hide a combobox selection button when a combobox cell doesn't have focus? We only want to see the button when the user gives the cell focus. We are using a virtual gridcontrol.



Administrator [Syncfusion]
Replied On February 21, 2007 05:16 PM UTC

Hi Kyle,

You can specify when to show or display the cell button of the combobox cell using the ShowButtons property. Here is a code snippet

For GridControl:
this.gridControl1[1, 1].ShowButtons = GridShowButtons.ShowCurrentCell;

For DataBoundGrid:
e.Style.ShowButtons = GridShowButtons.ShowCurrentCell; //QueryCellInfo event

Best regards,


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