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. Image for the cookie policy date

How to find the height of drop zone

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?


5 Replies

JR John Ruiz January 21, 2008 01:16 PM UTC

Guys,

Please any answer on this?



JJ Jisha Joy Syncfusion Team 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



JJ Jisha Joy Syncfusion Team 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



JR John Ruiz January 24, 2008 07:30 AM UTC

Yes i meant groupdroparea. Thanks anyways.



JJ Jisha Joy Syncfusion Team 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


Loader.
Live Chat Icon For mobile
Up arrow icon