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

Binding Adorner Fill Color

Thread ID:





80589 Apr 14,2009 02:57 PM UTC Apr 16,2009 01:53 PM UTC WPF 1
Tags: Chart
Dale Haessel
Asked On April 14, 2009 02:57 PM UTC

Is there simple syntax to set the Adorner Fill property to the interior color of the line using the adorner.

Adorners are children of the chart series, so I would like to set its Fill property to that of the line Interior Color.

When defining a Data Template for the adorner, I had set 'Fill="{Binding Interior}"' but it can't find the Interior property of the line. Is there a way of doing this easily. If not it seems to be a defect to me. There is a work around of defining every color to a property and using it was the Fill property of the line and the interior property of the line but it is not a clean solution and not optimal.

Probably easy to do this but I am new to WPF so let me know the syntax.

Administrator [Syncfusion]
Replied On April 16, 2009 01:53 PM UTC

Hi Dale,

Thanks for your interest in Syncfusion products.

Currently we do not have support for 'Retrieving the ChartSeries properties through Adornments'. This has been confirmed as a Feature Request. We will implement this feature in our forthcoming new version releases or service pack releases.

We will update your incident 54981 with custom dll once this feature is implemented.

For now, only way is to replace the ChartSeries template. I have created a sample that uses a chart series template and places a TextBlock (if required could have other shapes) in it. Please refer to the attached sample.


Please let us know if you have further queries.



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