Change SplitterElement.Location

3 posts, 0 answers
  1. Nikola
    Nikola avatar
    8 posts
    Member since:
    Sep 2014

    Posted 08 Oct 2014 Link to this post


    i have discovered a new issue, its about accessing the position of the ContainerSplitter, which seperates the GraphicalViewElement and the TextViewElement. It seems like the Splitter is set on 50% of the control itself.
    What I want to do is to set the Splitter next to the last column of the TextViewElement.

    I tried to access the Location property of radGantView.GantViewElement.SplitterElement.Location = new Point (x,y); but that does nothing.
    And if I change the position of the splitter on runtime, i get a wierd position.

    Also I must say, I first debuged GanttViewElement.SplitterElement.LocationToControl(); to see which values are used. In my case something around 700 for Point.X. I set it down with a new Point(400, 1);. But again, nothing, still on 50% of the Control. If i move it now in runtime, I get a strange bug.

    After that code i tried also this.radGantView.Update(); and again...nothing.

    Please tell me how to change the Splitter Position/Location

    & Greets to you

  2. Nikola
    Nikola avatar
    8 posts
    Member since:
    Sep 2014

    Posted 08 Oct 2014 Link to this post

    Forgott the pictures.

    SplitterLocation.png -> changed the SplitterLocation already (nothing affected)
    ChangeSplitterPos.png -> Moving the Splitter after changing the Location
  3. DevCraft R3 2016 release webinar banner
  4. Konstantina
    Konstantina avatar
    2332 posts

    Posted 09 Oct 2014 Link to this post

    Hi Nikola,

    From the screenshots it seems like the GanttView is not the one part of the Silverlight suite. I have seen that you have a question in a forum for WinForms, so could you please verify from which suite you are using the control - Silverlight or WinForms? In that way we will be able to provide you with precise answer to your questions.

    Looking forward to your reply.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top