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

DropDownGrid arrow not displaying

Thread ID:





67772 Aug 29,2007 07:58 PM UTC Aug 31,2007 01:52 AM UTC WinForms 2
Tags: GridControl
Greg Goodall
Asked On August 29, 2007 07:58 PM UTC

I used the DropDownGrid VB.NET source sample to successfully create the new celltype and assign it to a DataGrid cell. In the Syncfusion sample the cell has an arrow on the right side of the cell that changes to a soft orange backcolor when the mouse hovers over it. I cannot get the arrow and the orange backcolor to appear. I was able to create the dropdowngrid when I clicked the "box" where the arrow should be though.

What am i missing?


Greg Goodall
Replied On August 30, 2007 01:00 PM UTC

Problem Resolved. I had some residual code in the Grid's DrawCellButtonBackground event that was messing it up. I took it out and it displays fine now.

'Dim drawPressed As Boolean = (e.ButtonState And ButtonState.Pushed) <> 0
'Dim rect As Rectangle = e.Bounds
'Dim g As Graphics = e.Graphics
'Dim hilight As Color = SystemColors.ControlLightLight
'Dim shadow As Color = SystemColors.ControlDarkDark
''Dim hilight As Color = Color.LightSeaGreen
''Dim shadow As Color = Color.MediumSeaGreen
'If Not drawPressed Then
' Draw3dFrame(e.Graphics, rect.Left, rect.Top, rect.Right - 1, rect.Bottom - 1, 1, hilight, shadow)
' Dim br As Brush = New SolidBrush(shadow)
' g.FillRectangle(br, Rectangle.FromLTRB(rect.Left, rect.Bottom - 1, rect.Right - 1, rect.Bottom))
' g.FillRectangle(br, Rectangle.FromLTRB(rect.Right - 1, rect.Top, rect.Right, rect.Bottom))
' br.Dispose()
'End If
'e.Cancel = True

J.Nagarajan [Syncfusion]
Replied On August 31, 2007 01:52 AM UTC

Hi Greg,

Thanks for your continued interest in Syncfusion product.

We glad to hear that this issue has been resolved. Please let me know if you have any other concerns.



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