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

Text in visible part of covered ranges

Thread ID:





114200 Nov 5,2013 01:14 PM UTC Nov 18,2013 07:33 PM UTC WinForms 2
Tags: GridControl
Boris Mouzo Izquierdo
Asked On November 5, 2013 01:14 PM UTC


We have an application that was developed using Syncfusion controls, the Grid Control for this matter. The grid has a limited space to show its contents and to avoid showing rows with the same data we have written CoveredRanges source code (Merge didn't do the trick as we have several columns and when on the preceding column the value changes and the merge is reset, the following column keeps the merge. We want to have some sort of grouped merges). Back to the limited space for the grid, when we have a lot of rows merged into one we find ourselves that the text of this cell is not shown unless we scroll to a specific location (with a middle vertical alignment we have to scroll the middle of the merged rows).

In the latest package there's an example of a Virtual Merge Cell Demo with a checkbox to center the text in the visible part of partially visible cells. The language of our application is Visual Basic and the example only provides C#. We've tried to reuse and rewrite that code with no success. Could you please provide us with the code (CustomGridControl) in Visual Basic so we can use it for our application? With previous versions of the suite we managed to reuse custom controls like "Grid in Cell" or "Button Edit" also in Grid as they were provided in both programming languages but this one is giving us some trouble with no success so far.

Thanks in advance

Boris Mouzo Izquierdo
Replied On November 5, 2013 04:02 PM UTC

OK, I gave it another final try using a C# to VB converter and changing the inheritance of your custom control from GridControlBaseImp to GridControl and some other modifications and finally managed to make it work. Now its up to some fine-tuning and cleaning code and if nothing wrong happens we should be able to have the desired behavior.

Anish George [Syncfusion]
Replied On November 18, 2013 07:33 PM UTC

Hi Boris,

Thank you for your interest in Syncfusion products

We would like to let you know that from Essential Studio v11.2 , the VB samples was been made unavailable from our Dashboard and instead it will be provided only on demand. So please make use of the samples from the below location.


Please let us know if you have any further 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