Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Custom Style Template for PropertyGrid not Working, Any Ideas?

$
0
0
Thanks for the quick reply,

Can't believe I missed the ItemsSource. That fixed it! I also added the based on part and that fixed it as well.

I have updated my Gist for anyone who is interested in defining their own template.

Couple of notes on my template (BoucherS - maybe they interest you for the toolkit) :
  1. I made the spacing on the right side of the property grid match what is going on on the left. That is the original layout of the property grid butted up against the right side of the control. I added some margins in to make it more uniform in appearance. I forget exactly the changes so you will have to do a quick compare if you want to remove them and are using my template.
  2. I did not like how the search box resized when the mouse went over it. I liked the border it put up but not he way it made the whole control look so I removed the mouse over trigger on the search box. I would have preferred to leave it but I could not figure out how to get the mouse over border without making the control resize.
I have attached a screenshot to show what I changed. I forgot to highlight the additional margin to the right of the clear search button.

The top image is default. The bottom is with this template.

Image

Thanks again for your help!

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>