This is a migrated thread and some comments may be shown as answers.

Pane Visbility

2 Answers 88 Views
Docking
This is a migrated thread and some comments may be shown as answers.
JAS J
Top achievements
Rank 1
JAS J asked on 04 Aug 2011, 07:16 PM
I am trying to hide and show panes using a binding. The only way I have been able to get it to work is as follows:

<telerik:RadSplitContainer  Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}" >
    <telerik:RadPaneGroup   Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}">
        <telerik:RadPane  Header="Minutes"
                           Visibility="{Binding ShowClientMinutesPane, Mode=TwoWay, Converter={StaticResource BoolToVisibility}}">
            <vw:ClientMinutesView/>
        </telerik:RadPane>                   
    </telerik:RadPaneGroup>
</telerik:RadSplitContainer>

That is, I have to do it in all three places. What am I doing wrong? Is this the way I am supposed to do it?

thanks,
jas

2 Answers, 1 is accepted

Sort by
0
Accepted
bg
Top achievements
Rank 1
answered on 04 Aug 2011, 08:37 PM
Don't use Visibility, use the ISHidden property on that Pane. That should take care of it.
0
JAS J
Top achievements
Rank 1
answered on 04 Aug 2011, 10:03 PM
Thanks, that worked.
Tags
Docking
Asked by
JAS J
Top achievements
Rank 1
Answers by
bg
Top achievements
Rank 1
JAS J
Top achievements
Rank 1
Share this question
or