Change SplitterElement.Location

Nikola

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.

Konstantina

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.

Regards,
Konstantina
Telerik

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.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.