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

Good starting xaml for diagram?

4 Answers 48 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 10 May 2013, 03:40 PM
The wizard for the richtextbox gives a fully featured xaml, complete with a ribbon toolbar and everything.

But the wizard for the diagram doesn't... it just starts you out with a diagram, and a zoom preview, and a box of shapes. No toolbar.

I tried wading through the example projects, and the documentation, looking for a nice hunk of xaml I could just copy / paste in and get me started with a diagram that's similar to the examples... but no luck. Always missing assemblies, errors, etc. I'm not that good at silverlight, but it seems like it shouldn't be this hard. I've been struggling with this all day!

Anyone got a nice copy / paste of xaml and cs or vb code that I can use to get me started with a fully featured diagram, with a ribbon toolbar, just like in the demos, which doesn't require an assembly from the examples that I don't have and can't figure out how to get without pulling all my hair out? Thanks, it would really help me. :p

I'm a trial user, planning to purchase if I can get this to work.

Aaron

4 Answers, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
answered on 11 May 2013, 08:17 AM
Quick update: I'm still working on this 6 hours later.

What I'm doing now is actually I took the whole demo solution (its a zillion projects), and deleted all the \example projects out of it except diagram. Then, slowly deleting everything in the UI and other projects, trying to whittle it down to just the diagram appearing. It's unbelievable how many bindings, namespaces scattered everywhere, etc. Not a quick start for sure. It would really have been nice if the diagram's project would have run on its own, without being dependant on so many other files in several other projects that are in the solution. Seems like a excessively complex way to design something that bears the title of Example, Demo and "Quick Start".

But, I'll post (if I'm allowed) my final project where just the diagram is functional... if I can ever get it to that point. Maybe it'll save someone else from having to go through all this trouble.
0
Aaron
Top achievements
Rank 1
answered on 11 May 2013, 03:09 PM
Update: I'm still trying to make this work. Trying to detangle the diagram project out of the rest of the demo solution is like trying to take a baby cub from the mother bear.

It would be really nice to just have some xaml and cs that would start me out with a fully functional diagram like what is seen in the demos, but without anything unnecessary... if anyone has that I would really appreciate it. The Wizard doesn't create a fully featured diagram, just a half featured one that has no toolbar at all.

Aaron
0
Aaron
Top achievements
Rank 1
answered on 11 May 2013, 04:45 PM
In case a nice admin has a example project... I'm specifically looking for the toolbar that's seen along the top of Diagrams/Firstlook (because it has a lot of features not found in the other demos, albeit the layout button needs to go), but I like the gallery, diagram rulers that are found in the Diagrams/DesignToolbox example, and I wish I had the grid scrollbars and zoom box
that's found in Diagrams/OrgChart...

All in a silverlight project solution, if an admin has an example project, would be fantastic...

I'd make it myself except I've been working two days on it and gotten nowhere.

Aaron
0
Miro Miroslavov
Telerik team
answered on 15 May 2013, 02:39 PM
Hello Aaron,

 Please find the attached FirstLook example in a separate project.
We understand that the QSF is not always easy to extract the sample out of it. That's why we're working on our git public SDK repository. Most of our samples will be moved there so that you can easily download them. For now not every QSF sample for RadDiagram is there, but at the end they will be.
Hope this helps.

Regards,
Miro Miroslavov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Miro Miroslavov
Telerik team
Share this question
or