We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Databinding of labels on a node

Thread ID:





33805 Aug 26,2005 11:06 AM UTC Aug 29,2005 01:48 PM UTC WinForms 3
Tags: Diagram
Asked On August 26, 2005 11:06 AM UTC

How do i do Databinding of labels on a node to symbol property or anything except for the ones provided aka text and symbolname.

Administrator [Syncfusion]
Replied On August 26, 2005 09:09 PM UTC

Hello Sachin, Why not just implement these properties as part of a custom symbol class using the standard get/set accessors, and provide the required data binding logic within this class? Please elaborate on the issue if I am missing something here. Thanks, Prakash Surendra Syncfusion Inc.,

Sachin Vijan
Replied On August 27, 2005 07:27 AM UTC

The symbols have been created using symbol designer. it has four labels which i wanna bind to four database columns how do i do that?

Administrator [Syncfusion]
Replied On August 29, 2005 01:48 PM UTC

Sachin, The best way to go about this would be to use a custom symbol class in your application(or optionally in a separate library) for subclassing your symbol. You will have to use the approach demonstrated in the QuickStart\CustomSymbol sample of providing the PluginAssembly/PluginClass of the subclassing type when designing the symbol in the SymbolDesigner. Once this is done, you can implement get/set accessors in your symbol subclass for the SymbolLabels that require to be bound to your database, and implement the binding functionality from within the subclass. Handling the SymbolLabel''s PropertyChanged event or overriding the OnPropertyChanged method and looking for updates to the ''Text'' property will let you know when a SymbolLabel has undergone an inplace edit, and you can use this hint to effect changes to your data. Thanks, Prakash Surendra Syncfusion Inc.,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon