This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, We want to change a nodes background or borderThickness in codebehind. Our style is;
And in codebehind, we tried this:
When we remove nodeElement.Resources["BorderThickness"] = 3; line it works fine for ToolTipText. But we can't do it with BorderThickness or BorderBrush. |
|
|
Hello We will look into this soon. Jason Fauchelle |
|
|
Hello I think the main problem here is your setting the BorderThickness to be a numerical value, but it should be an instance of Thickness. Try using this instead and let me know if the problem remains: nodeElement.Resources["BorderThickness"] = new Thickness(3); Jason Fauchelle |
|
|
It worked. Thanks. |
|