This is a migrated thread and some comments may be shown as answers.

Scrolling diagram according to an specific item position

2 Answers 86 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Mahmut
Top achievements
Rank 1
Mahmut asked on 20 May 2015, 11:10 AM

Hi,

I select an item in codebehind, but I want to get item in ViewPort. I try to scroll diagram according to item position. It does not work. I just want user to see item, which I select in code, in screen . How can I do that?

Thanks in advance.

Mahmut.

2 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 21 May 2015, 12:01 PM
Hello Mahmut,

You can achieve that by using the build BringIntoView functionality of the RadDiagram
(this.diagram.BringIntoView(this.diagramShape));.
You can find more information about how to bring item into view in this article.

I hope this information helps. Please let us know if you need further assistance.

Kind regards,
Kiril Vandov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mahmut
Top achievements
Rank 1
answered on 22 May 2015, 06:41 AM

Hi Kiril,

Thanks for your answer. It is exactly thing which I am looking for.

Tags
Diagram
Asked by
Mahmut
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Mahmut
Top achievements
Rank 1
Share this question
or