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

Additional Content

4 Answers 143 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Prime Minister Office
Top achievements
Rank 1
Prime Minister Office asked on 12 Jan 2016, 12:54 PM

Hi,

I'm trying to do something that very similar to the TableShape demo example.

In the example there is a class named TableAdditionalContent, that inherited from a class named AdditionalContent ( public class TableAdditionalContent : AdditionalContent )

I use all the references in the example (except the 2 that belong only the example), but my VS can't find completion to the AdditionalContent  class (it's just can't find it in any reference i guess...).

 I would like to get some help to know is there maybe a missing reference that the AdditionalContent  class need or any help..

This is the example code from the demo:

using System;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Diagrams.Extensions.ViewModels;
using Telerik.Windows.Diagrams.Core;
using Telerik.Windows.Examples.Diagrams.Swimlane;
using Telerik.Windows.Examples.Diagrams.TableShape.Models;

namespace Telerik.Windows.Examples.Diagrams.TableShape
{
    public class TableAdditionalContent : AdditionalContent

}

 

Thank U!

4 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 13 Jan 2016, 08:59 AM
Hello,

The class that you are trying to access is located in one of our other demos for the RadDiagram and we are simply reusing it for the TableShape demo. You can find that class defined in the Swimlane demos of the RadDiagram and copy it to your project as it is only implemented in our demos, its not a class from the RadDiagram dll's.

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
Prime Minister Office
Top achievements
Rank 1
answered on 13 Jan 2016, 10:40 AM

Hi,

Thank you Kiril, it was helpful.

And what about - Telerik.Windows.Examples.Diagrams.Common?

Now when I use the swimlane, the swimlane using this, and I can't find it in other projects. Where can I find it?

 

Best Regards

0
Kiril Vandov
Telerik team
answered on 18 Jan 2016, 07:51 AM
Hello,

The namespace that you are referring to is also located in our QSF demos. You can access is vie the Demos.zip which we distribute with our binaries. I have also attached a zip file containing only the RadDiagram examples for your convenience.

I hope this information helps.

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
Prime Minister Office
Top achievements
Rank 1
answered on 18 Jan 2016, 02:42 PM

Hi,

Thank you very much Kiril.

 

Best regards

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