Add Text to Link

Hi
I am trying to add text to link but it is not working. I am using the below code.

Please help!!!

The predefined …Data classes already define a Text property. Did you get a compiler warning?

All the other properties are working for you when you data-bind them, yes?

There is not any compiler warning. The other properties are working fine but the text is not coming. If i am giving the text in usercontrol.resources then it is working fine but i want to set this dynamically.

GraphLinksModelLinkData definitely defines its own Text property. So if you are inheriting from this class you should be getting a compiler warning because of the name conflict since there’s no “new” qualifier in your definition.

If you remove the definition of your Text property, does everything work?

Yes its working now.Thanks!!!