This is the question I had posted. Now, I am not able to reflect the changes made to the rectangle element in the DataTemplate. I want to scaleX the rectangle depending on some values and conditions in the code-behind. I did the following : is the question I had posted. Now, I am no