I'm using RadPanelBar from code meaning I create instances of RadPanelBarItem and fill their "Items" collections with my custom controls.
Everyting works great untill I set the visibility of my control (in RadPanelBarItem) to "Collapsed". It seems that just item's Header is reset but control is still there. I can have a selection border (couple of pixels height), I can select control itself and etc. So it is accessible by end users though without header and occupying some space. When putting visibility back to "Visible" everything is again fine.
Is there anything to fix that?
Update:
I have attached a screenshot that displays an issue. The RadPanelBarItem contains 6 TextBlock instances where the 1st one has Visibility set to "Collapsed". User still can select the "Collapsed" item though he should not.
Xaml to reproduce the issue:
Thanks,
Denis
Everyting works great untill I set the visibility of my control (in RadPanelBarItem) to "Collapsed". It seems that just item's Header is reset but control is still there. I can have a selection border (couple of pixels height), I can select control itself and etc. So it is accessible by end users though without header and occupying some space. When putting visibility back to "Visible" everything is again fine.
Is there anything to fix that?
Update:
I have attached a screenshot that displays an issue. The RadPanelBarItem contains 6 TextBlock instances where the 1st one has Visibility set to "Collapsed". User still can select the "Collapsed" item though he should not.
Xaml to reproduce the issue:
<telerik:RadPanelBar> <telerik:RadPanelBarItem Header="Category" IsExpanded="True"> <TextBlock Text="Item 1"/> <TextBlock Text="Item 2" Visibility="Collapsed"/> <TextBlock Text="Item 3"/> </telerik:RadPanelBarItem> </telerik:RadPanelBar>
Thanks,
Denis