LinearGauge UI glitch when trying to scroll.

3 posts, 1 answers
  1. Raviesh
    Raviesh avatar
    3 posts
    Member since:
    Apr 2016

    Posted 30 May Link to this post

    Hello

    I have created a LinearGauge that is in scrollable windows form, on scrolling the UI of Gauge distorts in random manner. I have attached the screenshot alongwith to understand what exactly is happening to the gauge on scrolling. Please help me at the earliest regarding the issue.

    Thanks in advance.

    Raviesh

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1408 posts

    Posted 31 May Link to this post

    Hi Ravinesh,

    Thank you for writing.

    I was able to reproduce the issue by adding the gauge to a RadScrollablePanel. I have logged it in our Feedback Portal. You can track the item for status changes and add your vote for it here.

    To workaround this, you need to create custom elements and override the IsInVisibleClipBounds method. For example:
    public class MyTicks : Telerik.WinControls.UI.Gauges.LinearGaugeTicks
    {
        protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)
        {
            return true;
        }
    }

    Your Telerik Points have been updated for this report.

    Should you have any other questions do not hesitate to ask.
     
    Regards,
    Dimitar
    Telerik
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Raviesh
    Raviesh avatar
    3 posts
    Member since:
    Apr 2016

    Posted 31 May in reply to Dimitar Link to this post

    Hi Dimitar

    I am not sure how and where exactly will I override this property, can you please tell me with some example.

    Thanks

    Raviesh

     

  5. Raviesh
    Raviesh avatar
    3 posts
    Member since:
    Apr 2016

    Posted 31 May Link to this post

    Hello Dimitar

    It worked fine.I am marking the solution as answer.

    Thanks

    Raviesh

     

Back to Top