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
|
Hi, Sharing the same problem with http://www.mindscape.co.nz/forums/Thread.aspx?PostID=3018, I would like to left justify the property name of property grid. I have followed the step, that is changing the horizontal alignment of FancyNodeTemplate, renaming the key, building the custom dll, and refering the new dll in my project. And I am trying to use the Whalesong.PropertyGrid.xaml. Please guide me in this matter. Best Regards, Shaun |
|
|
What you've described sounds like it should work. My first guess therefore would be that although you've declared a new style key, you've not updated the style reference to refer to the new key. To test this theory, make a big and obvious change to the template -- for example, go to the Border surrounding the TextBlock where you made the change, and add Background="HotPink" to that Border element. If that doesn't show up, then it means you're not referencing the new style. The other possibility is that you're not changing the HorizontalAlignment on the correct element (though it certainly sounds like you're on the right element). You should be around line 400 of Whalesong.PropertyGrid.xaml, on a TextBlock element -- is that right? |
|