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

Closing unactive pane closes selected pane

0 Answers 8 Views
Docking
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 05 Nov 2018, 06:56 PM

Hi Telerik,

This might be an obvious question but I'd like to ask this anyway. I have two RadDocumentPanes, I'd like to close the inactive pane (that's pane B, see Sample.png) by clicking the close button. But the pane being closed is the selected/active pane  (that's pane A).

My Code:

                <telerik:RadButton x:Name="CloseButton"
                        Grid.Column="4"
                        Command="telerik:RadDockingCommands.Close"
                        Style="{StaticResource CustomRadButtonDocumentCloseStyle}"
                        Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource BooleanToVisibilityConverter}}"/>

 


No answers yet. Maybe you can help?

Tags
Docking
Asked by
A
Top achievements
Rank 1
Share this question
or