Hi
I have question with hierarchical grid.
In hierarchical grid we are using the + / - for expand and collapse the grid.
I want to place a next to minus (-) sign image (Like folder open image) when that grid expanding mode.
and change the (next to + plus sign) image (Like folder close image) automatically when that grid collapsing.
you help is highly appreciated. thanks.
by
ramesh
Thank you Alex, this is perfect for me.
Since I am trying to understand the XAML, it appears you have a check box that contains two images. If IsChecked = false image1 is visible and image2 is transparent using the Opacity property. If IsChecked = true, image1 is transparent and image2 is visible. Where I thought about swapping images your solution uses Opacity, something I would not thought of.
Thanks Alex.
Here is my project.
Alex.
Well, that is interesting. It works with me fine ( the image changes from "B" letter to "A" letter and then back to "B" when collapsed). It just has one second animation time (I think). If you want I can attach my project.