I'm using the explorer bar in an app and I've got an issue with the HEIGHT of the group headers.
I have set the group headers image to a bitmap 36x36 and the group header height has adjusted to accommodate that.
However, it adjusts a little larger than the image. I've set the group height to 36 and that has no effect.
I've highlighted the group header backcolor in RED to make the problem obvious, but what I really want if for the group color blocks to be adjacent with no padding between them at all.
Any idea's how to accomplish that?
Thanks!
Hello Darin,
The padding around the group header's image is static based on the ViewStyle of the control, so unfortunately, there is no property setting that will allow you to customize it. However, you can use a creation filter to adjust the size and position of the Image UIElement which will allow you to accomplish the desired look. I've attached a sample that demonstrates such a creation filter.
Let me know if you have any questions.
Chris
Chris, you totally rock!
You're right about the viewstyle, but unfortunately, in my case I need to use the outlookstyle, so changing that wasn't an option.
That was exactly the fix.
I owe you a beer!
Many thanks
Darin