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

How to find the height of drop zone

Thread ID:

Created:

Updated:

Platform:

Replies:

71086 Jan 15,2008 07:03 AM UTC Jan 25,2008 05:33 AM UTC Windows Forms 5
loading
Tags: GridControl
John Ruiz
Asked On January 15, 2008 07:03 AM UTC

I am using grid grouping control and showing a context menu with drop zone enabled, shows the menu little down on the Y axis (Actually up as it's on the negative).

I would instead have to do something like

Point point = new Point(e.Inner.X, e.Inner.Y + 31);
gridGroupingControlContextMenu.Show(gridGroupingControl, point);

I don't want to add 31 in there, please tell me how to find the height of the drop zone instead?


John Ruiz
Replied On January 21, 2008 01:16 PM UTC

Guys,

Please any answer on this?


Jisha Joy [Syncfusion]
Replied On January 23, 2008 12:14 PM UTC

Hi John,
Get the height of the ContextMenu in GridGroupingControl:
I regret to let you know that currently we do not provide support for this feature in our code library. We have notified our development team on this regard and will get back to you once we hear back from them.

Regards,
Jisha


Jisha Joy [Syncfusion]
Replied On January 24, 2008 03:58 AM UTC

Hi John,

Sorry for the confusion.

Could you please tell what you meant by Drop Zone?. You mean the GridDragDropArea?

Thanks,
Jisha


John Ruiz
Replied On January 24, 2008 07:30 AM UTC

Yes i meant groupdroparea. Thanks anyways.


Jisha Joy [Syncfusion]
Replied On January 25, 2008 05:33 AM UTC

Hi John,
Thank you for your update.

You can use the GridGroupDropArea.Height property of GridGroupingControl to get the height of the drop zone.
Please refer the code snippet:

this.gridGroupingControl1.GridGroupDropArea.Height

Please let me know if you any questions.
Regards,
Jisha


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

;