Hi,
I'm trying to expand / collapse a RadExpander from C# code and I'm running into a little difficulty. I set the IsExpanded property to false and the RadExpander content disappears as I would expect, but the arrow on the header does not change direction. Consequently when the user clicks the header to re-expand the RadExpander, the first click simply flips the arrow as the header thinks the control is still expanded. A second click flips the arrow again and the control expands as it should.
It seems to me that setting the IsExpanded property to false should also transition the header into the collapsed state. Is there a way I can do this from my code?
I'm trying to expand / collapse a RadExpander from C# code and I'm running into a little difficulty. I set the IsExpanded property to false and the RadExpander content disappears as I would expect, but the arrow on the header does not change direction. Consequently when the user clicks the header to re-expand the RadExpander, the first click simply flips the arrow as the header thinks the control is still expanded. A second click flips the arrow again and the control expands as it should.
It seems to me that setting the IsExpanded property to false should also transition the header into the collapsed state. Is there a way I can do this from my code?